|
1 | 1 | {
|
2 |
| - "rulesDirectory": [ |
3 |
| - "node_modules/codelyzer" |
| 2 | + "extends": [ |
| 3 | + "tslint:recommended" |
4 | 4 | ],
|
5 | 5 | "rules": {
|
6 |
| - "arrow-return-shorthand": true, |
7 |
| - "callable-types": true, |
8 |
| - "class-name": true, |
9 |
| - "comment-format": [ |
10 |
| - true, |
11 |
| - "check-space" |
12 |
| - ], |
13 |
| - "curly": true, |
14 |
| - "eofline": true, |
15 |
| - "forin": true, |
16 | 6 | "import-blacklist": [
|
17 | 7 | true,
|
18 | 8 | "rxjs"
|
19 | 9 | ],
|
20 |
| - "import-spacing": true, |
21 |
| - "indent": [ |
| 10 | + "interface-name": [ |
22 | 11 | true,
|
23 |
| - "spaces" |
| 12 | + "never-prefix" |
24 | 13 | ],
|
25 |
| - "interface-over-type-literal": true, |
26 |
| - "label-position": true, |
27 | 14 | "max-line-length": [
|
28 | 15 | true,
|
29 | 16 | 140
|
|
34 | 21 | "static-before-instance",
|
35 | 22 | "variables-before-functions"
|
36 | 23 | ],
|
37 |
| - "no-arg": true, |
38 |
| - "no-bitwise": true, |
39 | 24 | "no-console": [
|
40 | 25 | true,
|
41 | 26 | "debug",
|
|
44 | 29 | "timeEnd",
|
45 | 30 | "trace"
|
46 | 31 | ],
|
47 |
| - "no-construct": true, |
48 |
| - "no-debugger": true, |
49 |
| - "no-duplicate-super": true, |
| 32 | + "no-consecutive-blank-lines": [ |
| 33 | + true, |
| 34 | + 2 |
| 35 | + ], |
50 | 36 | "no-empty": false,
|
51 |
| - "no-empty-interface": true, |
52 |
| - "no-eval": true, |
53 | 37 | "no-inferrable-types": [
|
54 | 38 | true,
|
55 | 39 | "ignore-params"
|
56 | 40 | ],
|
57 |
| - "no-misused-new": true, |
58 | 41 | "no-non-null-assertion": true,
|
59 |
| - "no-shadowed-variable": true, |
60 | 42 | "no-string-literal": false,
|
61 |
| - "no-string-throw": true, |
62 | 43 | "no-switch-case-fall-through": true,
|
63 |
| - "no-trailing-whitespace": true, |
64 |
| - "no-unnecessary-initializer": true, |
65 |
| - "no-unused-expression": true, |
| 44 | + "no-trailing-whitespace": [ |
| 45 | + true, |
| 46 | + "ignore-template-strings" |
| 47 | + ], |
66 | 48 | "no-use-before-declare": true,
|
67 |
| - "no-var-keyword": true, |
68 | 49 | "object-literal-sort-keys": false,
|
69 |
| - "one-line": [ |
70 |
| - true, |
71 |
| - "check-open-brace", |
72 |
| - "check-catch", |
73 |
| - "check-else", |
74 |
| - "check-whitespace" |
| 50 | + "ordered-imports": [ |
| 51 | + false |
75 | 52 | ],
|
76 |
| - "prefer-const": true, |
77 | 53 | "quotemark": [
|
78 | 54 | true,
|
79 |
| - "single" |
| 55 | + "single", |
| 56 | + "avoid-escape" |
80 | 57 | ],
|
81 |
| - "radix": true, |
82 |
| - "semicolon": [ |
83 |
| - "always" |
| 58 | + "trailing-comma": [ |
| 59 | + false |
84 | 60 | ],
|
85 |
| - "triple-equals": [ |
86 |
| - true, |
87 |
| - "allow-null-check" |
88 |
| - ], |
89 |
| - "typedef-whitespace": [ |
90 |
| - true, |
91 |
| - { |
92 |
| - "call-signature": "nospace", |
93 |
| - "index-signature": "nospace", |
94 |
| - "parameter": "nospace", |
95 |
| - "property-declaration": "nospace", |
96 |
| - "variable-declaration": "nospace" |
97 |
| - } |
98 |
| - ], |
99 |
| - "typeof-compare": true, |
100 |
| - "unified-signatures": true, |
101 | 61 | "variable-name": false,
|
102 |
| - "whitespace": [ |
103 |
| - true, |
104 |
| - "check-branch", |
105 |
| - "check-decl", |
106 |
| - "check-operator", |
107 |
| - "check-separator", |
108 |
| - "check-type" |
109 |
| - ], |
110 | 62 | "directive-selector": [
|
111 | 63 | true,
|
112 | 64 | "attribute",
|
|
131 | 83 | "no-access-missing-member": true,
|
132 | 84 | "templates-use-public": true,
|
133 | 85 | "invoke-injectable": true
|
134 |
| - } |
| 86 | + }, |
| 87 | + "rulesDirectory": [ |
| 88 | + "node_modules/codelyzer" |
| 89 | + ] |
135 | 90 | }
|
0 commit comments