Skip to content

Commit

Permalink
feat: add prefer-const rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tale committed May 28, 2022
1 parent d7f4d96 commit 7e6caa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
"no-useless-return": "error",
"no-var": "error",
"object-shorthand": ["error", "always"],
"prefer-const": "off",
"prefer-const": "error",
"prefer-template": "error",
quotes: ["error", "double", { allowTemplateLiterals: true }],
semi: ["error", "always", { omitLastInOneLineBlock: true }],
Expand Down

0 comments on commit 7e6caa3

Please # to comment.