-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathtslint.json
34 lines (30 loc) · 1.15 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"extends": [
"@ptsecurity/tslint-config"
],
"rules": {
"deprecation": false,
// Bans jasmine helper functions that will prevent the CI from properly running tests.
"ban": [true, ["fit"], ["fdescribe"]],
// Disallows importing the whole RxJS library. Submodules can be still imported.
"import-blacklist": [true],
"no-implicit-dependencies": false,
"no-single-line-block-comment": false,
"prefer-readonly": false,
// need only for this project
"no-non-null-assertion": false,
"no-unnecessary-type-assertion": false,
"strict-type-predicates": false,
"no-unbound-method": [true, {"ignore-static": true, "whitelist": ["expect"], "allow-typeof": true }],
"mocha-no-side-effect-code": [true, { "ignore": "xdescribe|xit" }],
"no-for-in": false,
"no-constant-condition": false
},
"linterOptions": {
"exclude": [
"./packages/mosaic/design-tokens/pt-2022/tokens.ts",
"./packages/mosaic/design-tokens/legacy-2017/tokens.ts",
"./packages/docs/src/styles/**/tokens.ts"
]
}
}