Skip to content

Commit

Permalink
feat: make rules less strict
Browse files Browse the repository at this point in the history
- prefer-nullish-coalescing because it doesn't work properly
- make member-ordering less strict
  • Loading branch information
developer239 committed May 28, 2023
1 parent e67dfc5 commit b80675b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-typescript/index.js
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ module.exports = {
},
},
],
'@typescript-eslint/member-ordering': 'error',
'@typescript-eslint/member-ordering': 1,
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-empty-function': 'error',
@@ -99,7 +99,7 @@ module.exports = {
'@typescript-eslint/prefer-function-type': 'error',
'@typescript-eslint/prefer-includes': 'error',
'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 0,
'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/prefer-readonly': 'error',
'@typescript-eslint/prefer-regexp-exec': 'error',

0 comments on commit b80675b

Please sign in to comment.