Skip to content

Commit

Permalink
Require eslint 7.3.0+ to access new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZim committed Aug 25, 2020
1 parent 24c1cc2 commit 655fa6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module.exports = {
'no-alert': 'warn',
// PROBLEMS
// https://eslint.org/docs/rules/#possible-errors
'no-loss-of-precision': 'error',
'no-unreachable-loop': 'error',
'no-useless-backreference': 'error',
'require-atomic-updates': 'error',
// https://eslint.org/docs/rules/#best-practices
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": "^1.3.0",
"eslint": "~7.0.0",
"eslint": "~7.3.0",
"lodash.defaultsdeep": "^4.6.0",
"prettier": "^2.0.0"
},
"peerDependencies": {
"eslint": "^7.0.0"
"eslint": "^7.3.0"
},
"prettier": {
"singleQuote": true,
Expand Down

0 comments on commit 655fa6f

Please sign in to comment.