Skip to content

Commit

Permalink
feat: prefer optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jun 10, 2022
1 parent 2fc3983 commit a13c023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = {
"@typescript-eslint/no-shadow": "error",
'@typescript-eslint/prefer-for-of': 'error',
'@typescript-eslint/prefer-function-type': 'error',
'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/quotes': [
'error',
'single',
Expand Down

0 comments on commit a13c023

Please sign in to comment.