Skip to content

Commit

Permalink
Update base config - set 'one-var' rule to 'never'
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed May 21, 2023
1 parent 2d6399e commit 348f71f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,7 @@ export function prepareConfig() {
'no-whitespace-before-property': 'error',
'object-curly-newline': ['error', { multiline: true }],
'object-curly-spacing': ['error', 'always'],
'one-var': ['error', {
initialized: 'never',
uninitialized: 'consecutive'
}],
'one-var': ['error', 'never'],
'operator-assignment': 'error',
'padded-blocks': ['error', 'never'],
'prefer-exponentiation-operator': 'error',
Expand Down Expand Up @@ -393,7 +390,7 @@ export function prepareConfig() {
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
'@typescript-eslint/no-unsafe-assignment': 'error',
'@typescript-eslint/ fe-assignment': 'error',
'@typescript-eslint/no-unsafe-call': 'error',
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
Expand Down

0 comments on commit 348f71f

Please sign in to comment.