Skip to content

Commit

Permalink
Require let or const instead of var (no-var)
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 29, 2020
1 parent 2e39843 commit 5db3b49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},

"rules": {
"no-var": "error",
"accessor-pairs": ["error", { "setWithoutGet": true, "enforceForClassMembers": true }],
"array-bracket-spacing": ["error", "never"],
"array-callback-return": ["error", {
Expand Down

0 comments on commit 5db3b49

Please sign in to comment.