Skip to content

Commit aa8dfa9

Browse files
authoredJun 22, 2022
fix: set the never option for one-var
1 parent 4983c1f commit aa8dfa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/official-eslint-rules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,5 @@ exports.eslintRulesExtra = {
111111
"prefer-spread": "error", // require spread operators instead of `.apply()`
112112
"prefer-template": "error", // require template literals instead of string concatenation
113113
"symbol-description": "error", // require symbol descriptions
114-
"one-var": "error", // enforces variables to be declared either separately
114+
"one-var": ["error", "never"], // enforces variables to be declared either separately
115115
}

0 commit comments

Comments
 (0)
Please sign in to comment.