Skip to content

Commit 2f524b8

Browse files
committed
compile-time | CR fixes
1 parent 0d80c47 commit 2f524b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This plugin was created for bigger repositories that want to incorporate typescr
77
Plugins in general doesn't work in compile time. They will show errors in your IDE but they won't appear during compilation.
88
To check strict errors in marked files you can use our script `tsc-strict`.
99
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.
1212

1313

1414
## 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
6363
{
6464
"scripts": {
6565
...,
66-
"tsc-strict": "tsc-strict"
66+
"typecheck": "tsc && tsc-strict",
6767
},
6868
}
6969
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"build": "tsc",
2929
"dev": "tsc --watch -p .",
3030
"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"
3232
},
3333
"keywords": [
3434
"TypeScript Strict",

0 commit comments

Comments
 (0)