Skip to content

Commit caf5949

Browse files
committed
update eslint
1 parent 3808b58 commit caf5949

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ const base = {
6262
'no-unexpected-multiline': 'error',
6363
// disallow negation of the left operand of an in expression
6464
'no-unsafe-negation': 'error',
65+
// disallow use of optional chaining in contexts where the `undefined` value is not allowed
66+
'no-unsafe-optional-chaining': 'error',
6567
// disallow loops with a body that allows only one iteration
6668
'no-unreachable-loop': 'error',
6769
// disallow useless backreferences in regular expressions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"babel-plugin-transform-for-of-as-array": "^1.1.1",
2727
"david": "^12.0.0",
2828
"es-observable": "git+https://github.com/tc39/proposal-observable.git#d3404f06bc70c7c578a5047dfb3dc813730e3319",
29-
"eslint": "^7.14.0",
29+
"eslint": "^7.15.0",
3030
"eslint-import-resolver-webpack": "~0.13.0",
3131
"eslint-plugin-import": "^2.22.1",
3232
"eslint-plugin-node": "^11.1.0",

0 commit comments

Comments
 (0)