Skip to content

Commit

Permalink
Add @typescript-eslint/no-dupe-class-members rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 5, 2020
1 parent c68e88e commit 1a02f88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -211,6 +211,8 @@ module.exports = {
],
'no-array-constructor': 'off',
'@typescript-eslint/no-array-constructor': 'error',
'no-dupe-class-members': 'off',
'@typescript-eslint/no-dupe-class-members': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': 'error',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -43,15 +43,15 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"ava": "^2.4.0",
"eslint": "^6.8.0",
"temp-write": "^4.0.0",
"typescript": "^3.7.5"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=2.18.0",
"@typescript-eslint/eslint-plugin": ">=2.19.0",
"eslint": ">=6.6.0",
"typescript": ">=3.5.3"
}
Expand Down

0 comments on commit 1a02f88

Please sign in to comment.