Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from vuestorefront/fix/no-useless-constructor-…
Browse files Browse the repository at this point in the history
…from-ts

fix: possible to use typescript constructor assignement
  • Loading branch information
Fifciu authored Aug 7, 2023
2 parents 54b1e7b + 70a6928 commit a09d7f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-actors-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vue-storefront/eslint-config-integrations": patch
---

unlocked TypeScript constructor assignement
6 changes: 4 additions & 2 deletions packages/integrations-eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ module.exports = {
'no-return-await': 'off',
'no-throw-literal': 'warn',
"@typescript-eslint/no-explicit-any": "off",
"no-useless-constructor": "warn",
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'warn',
"no-undef": "warn",
"no-empty-function": "warn",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "warn",
"import/first": "warn",
"no-empty": "warn",
"import/no-dynamic-require": "warn",
Expand Down

0 comments on commit a09d7f0

Please sign in to comment.