Skip to content

Commit 7274099

Browse files
authored
fix(@typescript-eslint): replace no-parameter-properties with parameter-properties (#284)
This is required for upgrading to `@typescript-eslint` v6
1 parent b9696a5 commit 7274099

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

@typescript-eslint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ const config = {
8484
}
8585
],
8686
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
87-
'@typescript-eslint/no-parameter-properties': 'error',
8887
'@typescript-eslint/no-redeclare': 'error',
8988
'@typescript-eslint/no-require-imports': 'error',
9089
'@typescript-eslint/no-shadow': 'warn',
@@ -101,6 +100,7 @@ const config = {
101100
{ typedefs: false, variables: false }
102101
],
103102
'@typescript-eslint/no-useless-constructor': 'error',
103+
'@typescript-eslint/parameter-properties': 'error',
104104
'@typescript-eslint/prefer-for-of': 'error',
105105
'@typescript-eslint/prefer-function-type': 'error',
106106
'@typescript-eslint/prefer-includes': 'error',

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
"@types/jest": "^29.0.0",
6666
"@types/node": "^18.0.0",
6767
"@types/semver": "^7.3.8",
68-
"@typescript-eslint/eslint-plugin": "^5.0.0",
69-
"@typescript-eslint/parser": "^5.0.0",
68+
"@typescript-eslint/eslint-plugin": "^5.21.0",
69+
"@typescript-eslint/parser": "^5.21.0",
7070
"eslint": "^8.0.1",
7171
"eslint-plugin-eslint-comments": "^3.2.0",
7272
"eslint-plugin-flowtype": "^8.0.2",
@@ -91,8 +91,8 @@
9191
},
9292
"peerDependencies": {
9393
"@babel/eslint-parser": "^7.0.0",
94-
"@typescript-eslint/eslint-plugin": "^5.0.0",
95-
"@typescript-eslint/parser": "^5.0.0",
94+
"@typescript-eslint/eslint-plugin": "^5.21.0",
95+
"@typescript-eslint/parser": "^5.21.0",
9696
"eslint": ">= 7.0",
9797
"eslint-plugin-eslint-comments": ">= 3",
9898
"eslint-plugin-flowtype": "^8.0.0",

0 commit comments

Comments
 (0)