-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathtslint.json
73 lines (72 loc) · 2.48 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"extends": "tslint:latest",
"rulesDirectory": ["node_modules/codelyzer"],
"rules": {
// Codelyzer
"banana-in-box": true,
"contextual-life-cycle": true,
"decorator-not-allowed": true,
"pipe-impure": true,
"templates-no-negated-async": true,
"trackBy-function": true,
"i18n": false,
"no-attribute-parameter-decorator": true,
"no-forward-ref": false,
"no-input-rename": true,
"no-output-named-after-standard-event": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-unused-css": false,
"no-unused-expression": [true, "allow-new"],
"use-life-cycle-interface": true,
"use-pipe-decorator": true,
"use-pipe-transform-interface": true,
"use-view-encapsulation": true,
"angular-whitespace": [
true,
"check-interpolation",
"check-pipe",
"check-semicolon"
],
"component-class-suffix": true,
"component-selector": ["element", "rdx", "kebab-case"],
"directive-class-suffix": true,
"directive-selector": ["attribute", "rdx", "camelCase"],
"import-destructuring-spacing": true,
"pipe-naming": ["camelCase", "rdx"],
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
// Preset Overrides
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"object-literal-sort-keys": false,
"member-access": [true, "no-public"],
"arrow-parens": false,
"array-type": [true, "array"],
"semicolon": false,
"trailing-comma": false,
"interface-name": [true, "never-prefix"],
"no-console": [true, "log", "debug", "info", "time", "timeEnd", "trace"],
"object-literal-key-quotes": [true, "as-needed"],
"ban-types": [
true,
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
],
"no-submodule-imports": [
true,
"core-js",
"zone.js",
"rxjs",
"@angular/core/testing",
"@angular/router/testing",
"@angular/platform-browser-dynamic/testing",
"@angular/platform-browser/animations",
"@angular-redux/store/testing"
],
"no-implicit-dependencies": false // disabled due to monorepo hoisting
}
}