Skip to content

Commit

Permalink
fix: set the never option for one-var
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Jun 22, 2022
1 parent 4983c1f commit aa8dfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/official-eslint-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ exports.eslintRulesExtra = {
"prefer-spread": "error", // require spread operators instead of `.apply()`
"prefer-template": "error", // require template literals instead of string concatenation
"symbol-description": "error", // require symbol descriptions
"one-var": "error", // enforces variables to be declared either separately
"one-var": ["error", "never"], // enforces variables to be declared either separately
}

0 comments on commit aa8dfa9

Please sign in to comment.