Skip to content

Commit

Permalink
Merge pull request #133 from standard/prefer-const
Browse files Browse the repository at this point in the history
Add rule "prefer-const"
  • Loading branch information
feross authored Jul 5, 2019
2 parents f7d50e0 + 00fd243 commit eb632e9
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 @@ -162,6 +162,7 @@
"one-var": ["error", { "initialized": "never" }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],
"padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }],
"prefer-const": ["error"],
"prefer-promise-reject-errors": "error",
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"rest-spread-spacing": ["error", "never"],
Expand Down

0 comments on commit eb632e9

Please sign in to comment.