Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f0d080e

Browse files
committedDec 15, 2020
Added "typecheck" kcd-script to improve "validate" script
1 parent db8a6f3 commit f0d080e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"max-lines-per-function": "off",
55
"no-constant-condition": "off",
66
"no-await-in-loop": "off",
7-
"react-hooks/rules-of-hooks": "off",
87
"no-console": "off",
98
"import/no-unresolved": "off",
9+
"react-hooks/rules-of-hooks": "off",
1010
"@typescript-eslint/no-floating-promises": "off",
11-
"@typescript-eslint/no-unnecessary-condition": ["error", { "allowConstantLoopConditions": true }]
11+
"@typescript-eslint/no-unnecessary-condition": "off"
1212
},
1313
"parserOptions": {
1414
"project": ["./tsconfig.json", "./test/tsconfig.json"]

‎package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
"validate": "kcd-scripts validate",
2929
"prepare": "npm run build",
3030
"build": "kcd-scripts build --out-dir lib",
31+
"test": "kcd-scripts test",
32+
"typecheck": "kcd-scripts typecheck",
3133
"lint": "kcd-scripts lint",
3234
"format": "kcd-scripts format",
3335
"coverage": "codecov",
34-
"test": "kcd-scripts test",
3536
"docs:dev": "docz dev",
3637
"docs:build": "docz build",
3738
"contributors:add": "all-contributors add"

0 commit comments

Comments
 (0)
Please sign in to comment.