Browse Source

misc(lint) also type check when linting

dev0
Saúl Ibarra Corretgé 6 months ago
parent
commit
5281fe1ad0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      package.json

+ 1
- 1
package.json View File

@@ -64,7 +64,7 @@
64 64
     "build:tsc": "tsc --build --clean && tsc",
65 65
     "gen-types": "tsc --declaration --emitDeclarationOnly --outFile types/index.d.ts",
66 66
     "gen-version": "node tools/gen-version.js",
67
-    "lint": "eslint . --max-warnings 0",
67
+    "lint": "eslint . --max-warnings 0 && tsc --noEmit",
68 68
     "lint-fix": "eslint . --max-warnings 0 --fix",
69 69
     "prepack": "npm run build && npm run gen-types",
70 70
     "test": "karma start karma.conf.js",

Loading…
Cancel
Save