Skip to content

Commit

Permalink
tools: enable no-unsafe-optional-chaining lint rule
Browse files Browse the repository at this point in the history
This rule is new in ESLint 7.15.0.
  • Loading branch information
cjihrig committed Dec 8, 2020
1 parent a3a63d6 commit fb102ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -234,6 +234,7 @@ module.exports = {
'no-unreachable': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'no-unsafe-optional-chaining': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true }],
'no-unused-labels': 'error',
'no-unused-vars': ['error', { args: 'none', caughtErrors: 'all' }],
Expand Down

0 comments on commit fb102ff

Please sign in to comment.