Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 5, 2020
1 parent 3808b58 commit caf5949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ const base = {
'no-unexpected-multiline': 'error',
// disallow negation of the left operand of an in expression
'no-unsafe-negation': 'error',
// disallow use of optional chaining in contexts where the `undefined` value is not allowed
'no-unsafe-optional-chaining': 'error',
// disallow loops with a body that allows only one iteration
'no-unreachable-loop': 'error',
// disallow useless backreferences in regular expressions
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"babel-plugin-transform-for-of-as-array": "^1.1.1",
"david": "^12.0.0",
"es-observable": "git+https://github.com/tc39/proposal-observable.git#d3404f06bc70c7c578a5047dfb3dc813730e3319",
"eslint": "^7.14.0",
"eslint": "^7.15.0",
"eslint-import-resolver-webpack": "~0.13.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
Expand Down

0 comments on commit caf5949

Please sign in to comment.