Browse Source

Make eslint rule an error instead of a warning

This will `@typescript-eslint/no-unused-vars` an error instead of a warning. It's helpful for the rule to error so that the build will fail so that you don't have to check the logs to see if there was a warning. See https://github.com/mrdoob/three.js/pull/20467 for context.
Nathan Bierema 4 years ago
parent
commit
c8db16c6fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -34,7 +34,7 @@
       "@typescript-eslint"
       "@typescript-eslint"
     ],
     ],
     "rules": {
     "rules": {
-      "@typescript-eslint/no-unused-vars": 1,
+      "@typescript-eslint/no-unused-vars": "error",
       "@typescript-eslint/indent": [
       "@typescript-eslint/indent": [
         "error",
         "error",
         "tab",
         "tab",