Skip to content

Commit

Permalink
fix: revert one-var rule
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Sep 11, 2019
1 parent 8ad5911 commit 982a6b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eslint.js
Expand Up @@ -91,7 +91,10 @@ module.exports = {
'no-trailing-spaces': 'error',
'no-unneeded-ternary': 'error',
'no-whitespace-before-property': 'error',
'one-var': 'error',
'one-var': ['error', {
uninitialized: 'always',
initialized: 'never'
}],
'operator-linebreak': ['error', 'before'],
'quotes': ['error', 'single'],
'semi': 'error',
Expand Down

0 comments on commit 982a6b4

Please sign in to comment.