Skip to content

Commit 5db3b49

Browse files
committedOct 29, 2020
Require let or const instead of var (no-var)
Fixes: standard/standard#633
1 parent 2e39843 commit 5db3b49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
},
2626

2727
"rules": {
28+
"no-var": "error",
2829
"accessor-pairs": ["error", { "setWithoutGet": true, "enforceForClassMembers": true }],
2930
"array-bracket-spacing": ["error", "never"],
3031
"array-callback-return": ["error", {

0 commit comments

Comments
 (0)
Please sign in to comment.