Skip to content

Commit

Permalink
Update eslint to prefer let/const over var
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Feb 6, 2025
1 parent e206dd5 commit d657e1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ module.exports = [
"no-useless-concat": "error",
"no-useless-return": "error",
"no-use-before-define": ["error", { functions: false }],
"no-var": "error",
"no-void": "error",
"no-warning-comments": "warn",
"prefer-const": "error",
"radix": ["error", "always"],
"yoda": "error"
}
Expand Down

0 comments on commit d657e1c

Please sign in to comment.