diff options
Diffstat (limited to 'client/tslint.json')
-rw-r--r-- | client/tslint.json | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/client/tslint.json b/client/tslint.json index fcc866ee3..f45b1d576 100644 --- a/client/tslint.json +++ b/client/tslint.json | |||
@@ -1,12 +1,12 @@ | |||
1 | { | 1 | { |
2 | "extends": "tslint-config-standard", | 2 | "extends": [ "tslint-angular", "tslint-config-standard" ], |
3 | "rulesDirectory": ["./node_modules/codelyzer"], | ||
4 | "rules": { | 3 | "rules": { |
5 | "no-inferrable-types": true, | 4 | "no-inferrable-types": true, |
6 | "eofline": true, | 5 | "eofline": true, |
7 | "max-line-length": [true, 140], | 6 | "max-line-length": [true, 140], |
8 | "no-floating-promises": false, | 7 | "no-floating-promises": false, |
9 | "no-unused-variable": false, // Memory issues | 8 | "no-unused-variable": false, // Memory issues |
9 | "await-promise": [true, "PromiseLike"], | ||
10 | "member-ordering": [true, { | 10 | "member-ordering": [true, { |
11 | "order": [ | 11 | "order": [ |
12 | "public-static-field", | 12 | "public-static-field", |
@@ -21,27 +21,9 @@ | |||
21 | ]} | 21 | ]} |
22 | ], | 22 | ], |
23 | 23 | ||
24 | "angular-whitespace": [true, "check-interpolation", "check-semicolon"], | 24 | "no-shadowed-variable": false, |
25 | "banana-in-box": true, | 25 | "no-bitwise": false, |
26 | "templates-no-negated-async": true, | 26 | "max-classes-per-file": false, |
27 | "directive-selector": [true, "attribute", "my", "camelCase"], | 27 | "interface-over-type-literal": false |
28 | "component-selector": [true, "element", "my", "kebab-case"], | ||
29 | "use-input-property-decorator": true, | ||
30 | "use-output-property-decorator": true, | ||
31 | "use-host-property-decorator": true, | ||
32 | "use-view-encapsulation": true, | ||
33 | "no-attribute-parameter-decorator": true, | ||
34 | "no-input-rename": true, | ||
35 | "no-output-rename": true, | ||
36 | "no-output-on-prefix": true, | ||
37 | "no-forward-ref": false, | ||
38 | "use-life-cycle-interface": true, | ||
39 | "contextual-life-cycle": true, | ||
40 | "trackBy-function": false, | ||
41 | "use-pipe-transform-interface": true, | ||
42 | "pipe-prefix": [true, "my"], | ||
43 | "component-class-suffix": true, | ||
44 | "directive-class-suffix": true, | ||
45 | "pipe-impure": true | ||
46 | } | 28 | } |
47 | } | 29 | } |