You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* respect TSLint configs hierarchical order
* fixed settings + doc
* pass correct options to IncrementalChecker
* fix passing settings
* fix tests
* review fix#1
* integration test for tslint hierarchical order
* fix quotes
* moved test to common
* actual test files...
* changelog
* review related fix
* fix test after prettier
* fix
* optimize common functionality
Allows overriding TypeScript options. Should be specified in the same format as you would do for the `compilerOptions` property in tsconfig.json. Default: `{}`.
65
65
66
-
***tslint**`string | true`:
67
-
Path to *tslint.json* file or `true`. If `true`, uses `path.resolve(compiler.options.context, './tslint.json')`. Default: `undefined`.
66
+
***tslint**`string | true | undefined`:
67
+
- If `string`, path to *tslint.json* file to check source files against.
68
+
- If `true`, path to `tslint.json` file will be computed with respect to currently checked file, just like TSLint
69
+
CLI would do. Suppose you have a project:
70
+
```
71
+
./
72
+
tslint.json
73
+
74
+
src/
75
+
file.ts
76
+
anotherFile.ts
77
+
78
+
lib/
79
+
tslint.json
80
+
someHelperFile.ts
81
+
```
82
+
In such a case `src/file.ts` and `src/anotherFile.ts` would be checked against root `tslint.json`, and
83
+
`src/lib/someHelperFile.ts` would be checked against `src/lib/tslint.json`.
84
+
85
+
Default: `undefined`.
68
86
69
87
* **tslintAutoFix** `boolean `:
70
88
Passes on `--fix` flag while running `tslint` to auto fix linting errors. Default: false.
0 commit comments