Skip to content

Commit 1e90d37

Browse files
authored
Add typechecking to linting (#8)
1 parent c02d8fc commit 1e90d37

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
"start:core": "cd ../paranext-core && npm run start",
2222
"start": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch\" \"npm:start:core\"",
2323
"start:production": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:start:core\"",
24-
"lint": "npm run lint:scripts && npm run lint:styles",
24+
"lint": "npm run lint:scripts && npm run lint:styles && npm run lint:typecheck",
2525
"lint:scripts": "cross-env NODE_ENV=development eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .",
2626
"lint:styles": "stylelint **/*.{css,scss} --allow-empty-input",
27+
"lint:typecheck": "tsc --noEmit",
2728
"lint-fix": "npm run lint-fix:scripts && npm run lint:styles -- --fix",
2829
"lint-fix:scripts": "npm run format && npm run lint:scripts",
2930
"bump-versions": "ts-node ./lib/bump-versions.ts",

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"skipLibCheck": true,
34
"target": "ESNext",
45
"useDefineForClassFields": true,
56
"lib": ["DOM", "DOM.Iterable", "ESNext"],

0 commit comments

Comments
 (0)