Skip to content

Commit 3663f87

Browse files
authored
Merge pull request #41 from netlify/feat/add-no-unsafe-optional-chaining
2 parents 7c9d6e7 + 206316e commit 3663f87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ module.exports = {
119119
'no-shadow': 2,
120120
'no-underscore-dangle': [2, { enforceInMethodNames: true }],
121121
'no-undef': [2, { typeof: true }],
122+
'no-unsafe-optional-chaining': [2, { disallowArithmeticOperators: true }],
122123
'no-unused-vars': [2, {}],
123124
'no-useless-computed-key': [2, { enforceForClassMembers: true }],
124125
'no-useless-concat': 2,

0 commit comments

Comments
 (0)