Skip to content

Commit

Permalink
Require eslint v8.2+; add no-unused-private-class-members rule
Browse files Browse the repository at this point in the history
Resolves #20
  • Loading branch information
RyanZim committed Nov 16, 2021
1 parent 69a1684 commit d426a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
// PROBLEMS
// https://eslint.org/docs/rules/#possible-errors
'no-unreachable-loop': 'error',
'no-unused-private-class-members': 'error',
'require-atomic-updates': 'error',
// https://eslint.org/docs/rules/#best-practices
'accessor-pairs': 'error',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
},
"devDependencies": {
"doctoc": "^2.0.0",
"eslint": "~8.0.0",
"eslint": "~8.2.0",
"lodash.defaultsdeep": "^4.6.0",
"prettier": "^2.0.0"
},
"peerDependencies": {
"eslint": "^8.0.0"
"eslint": "^8.2.0"
},
"prettier": {
"singleQuote": true,
Expand Down

0 comments on commit d426a79

Please sign in to comment.