File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ This plugin was created for bigger repositories that want to incorporate typescr
7
7
Plugins in general doesn't work in compile time. They will show errors in your IDE but they won't appear during compilation.
8
8
To check strict errors in marked files you can use our script ` tsc-strict ` .
9
9
This command line tool is created to check for files that should be checked with strict rules in compilation time.
10
- It finds all files with ` //@ts-strict ` comment and checks for strict typescript errors only for that files.
11
- Therefore, we have strict errors inside our files and during build time
10
+ It finds all files with ` //@ts-strict ` comment and files specified in ` paths ` parameter and checks for strict typescript errors only for that files.
11
+ Therefore, we have strict errors inside our files and during build time.
12
12
13
13
14
14
## How to install
@@ -63,7 +63,7 @@ To add cli tool to your build time you can add a script to scripts list in packa
63
63
{
64
64
"scripts" : {
65
65
...,
66
- "tsc-strict " : " tsc-strict"
66
+ "typecheck " : " tsc && tsc -strict" ,
67
67
},
68
68
}
69
69
```
Original file line number Diff line number Diff line change 28
28
"build" : " tsc" ,
29
29
"dev" : " tsc --watch -p ." ,
30
30
"e2e" : " ts-node e2e/plugin-tests/run.ts && jest" ,
31
- "e2e:coverage" : " c8 -o e2e_coverage -x e2e -r html -i \\\\\\\ " src/**/*\\\\\\\" node e2e/plugin-tests/run.ts"
31
+ "e2e:coverage" : " c8 -o e2e_coverage -x e2e -r html -i \" src/**/*\" ts- node e2e/plugin-tests/run.ts"
32
32
},
33
33
"keywords" : [
34
34
" TypeScript Strict" ,
You can’t perform that action at this time.
0 commit comments