Skip to content

Commit

Permalink
feat: enable @typescript-eslint/prefer-optional-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
gjbkz committed Sep 3, 2023
1 parent 6b07d75 commit 9ad9f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
"@typescript-eslint/prefer-literal-enum-member": 2,
"@typescript-eslint/prefer-namespace-keyword": 2,
"@typescript-eslint/prefer-nullish-coalescing": 2,
"@typescript-eslint/prefer-optional-chain": 0,
"@typescript-eslint/prefer-optional-chain": 2,
"@typescript-eslint/prefer-readonly-parameter-types": 0,
"@typescript-eslint/prefer-reduce-type-parameter": 2,
"@typescript-eslint/prefer-regexp-exec": 2,
Expand Down
2 changes: 1 addition & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ const config = {
'prefer-literal-enum-member': ERROR,
'prefer-namespace-keyword': ERROR,
'prefer-nullish-coalescing': ERROR,
'prefer-optional-chain': OFF,
'prefer-optional-chain': ERROR,
'prefer-readonly-parameter-types': OFF,
'prefer-reduce-type-parameter': ERROR,
'prefer-regexp-exec': ERROR,
Expand Down

0 comments on commit 9ad9f73

Please sign in to comment.