Skip to content

Commit

Permalink
[eslint] Harden eslint template expresions
Browse files Browse the repository at this point in the history
  • Loading branch information
plusgut committed Feb 2, 2021
1 parent c02e87d commit c0d7509
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
Expand Down Expand Up @@ -32,6 +33,7 @@
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off"
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/restrict-template-expressions": "error"
}
}

0 comments on commit c0d7509

Please sign in to comment.