Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
chore: add eslint to prevent future template string errors
Browse files Browse the repository at this point in the history
Added the eslint rule to error when it detects template braces in regular strings.
  • Loading branch information
glb committed Jul 23, 2019
1 parent 87368dc commit a740cb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
rules: {
"no-var": "error",
eqeqeq: ["error", "always"],
"no-template-curly-in-string": "error",
},

overrides: [
Expand Down

0 comments on commit a740cb6

Please sign in to comment.