|
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
|
|
40 | 27 | ]
|
41 | 28 | }
|
42 | 29 | ],
|
43 |
| - "no-arg": true, |
44 |
| - "no-bitwise": true, |
45 | 30 | "no-console": [
|
46 | 31 | true,
|
47 | 32 | "debug",
|
|
50 | 35 | "timeEnd",
|
51 | 36 | "trace"
|
52 | 37 | ],
|
53 |
| - "no-construct": true, |
54 |
| - "no-debugger": true, |
55 |
| - "no-duplicate-super": true, |
| 38 | + "no-consecutive-blank-lines": [ |
| 39 | + true, |
| 40 | + 2 |
| 41 | + ], |
56 | 42 | "no-empty": false,
|
57 |
| - "no-empty-interface": true, |
58 |
| - "no-eval": true, |
59 | 43 | "no-inferrable-types": [
|
60 | 44 | true,
|
61 | 45 | "ignore-params"
|
62 | 46 | ],
|
63 |
| - "no-misused-new": true, |
64 | 47 | "no-non-null-assertion": true,
|
65 |
| - "no-shadowed-variable": true, |
66 | 48 | "no-string-literal": false,
|
67 |
| - "no-string-throw": true, |
68 | 49 | "no-switch-case-fall-through": true,
|
69 |
| - "no-trailing-whitespace": true, |
70 |
| - "no-unnecessary-initializer": true, |
71 |
| - "no-unused-expression": true, |
| 50 | + "no-trailing-whitespace": [ |
| 51 | + true, |
| 52 | + "ignore-template-strings" |
| 53 | + ], |
72 | 54 | "no-use-before-declare": true,
|
73 |
| - "no-var-keyword": true, |
74 | 55 | "object-literal-sort-keys": false,
|
75 |
| - "one-line": [ |
76 |
| - true, |
77 |
| - "check-open-brace", |
78 |
| - "check-catch", |
79 |
| - "check-else", |
80 |
| - "check-whitespace" |
| 56 | + "ordered-imports": [ |
| 57 | + false |
81 | 58 | ],
|
82 |
| - "prefer-const": true, |
83 | 59 | "quotemark": [
|
84 | 60 | true,
|
85 |
| - "single" |
86 |
| - ], |
87 |
| - "radix": true, |
88 |
| - "semicolon": [ |
89 |
| - true, |
90 |
| - "always" |
91 |
| - ], |
92 |
| - "triple-equals": [ |
93 |
| - true, |
94 |
| - "allow-null-check" |
| 61 | + "single", |
| 62 | + "avoid-escape" |
95 | 63 | ],
|
96 |
| - "typedef-whitespace": [ |
97 |
| - true, |
98 |
| - { |
99 |
| - "call-signature": "nospace", |
100 |
| - "index-signature": "nospace", |
101 |
| - "parameter": "nospace", |
102 |
| - "property-declaration": "nospace", |
103 |
| - "variable-declaration": "nospace" |
104 |
| - } |
| 64 | + "trailing-comma": [ |
| 65 | + false |
105 | 66 | ],
|
106 |
| - "typeof-compare": true, |
107 |
| - "unified-signatures": true, |
108 | 67 | "variable-name": false,
|
109 |
| - "whitespace": [ |
110 |
| - true, |
111 |
| - "check-branch", |
112 |
| - "check-decl", |
113 |
| - "check-operator", |
114 |
| - "check-separator", |
115 |
| - "check-type" |
116 |
| - ], |
117 | 68 | "directive-selector": [
|
118 | 69 | true,
|
119 | 70 | "attribute",
|
|
138 | 89 | "no-access-missing-member": true,
|
139 | 90 | "templates-use-public": true,
|
140 | 91 | "invoke-injectable": true
|
141 |
| - } |
| 92 | + }, |
| 93 | + "rulesDirectory": [ |
| 94 | + "node_modules/codelyzer" |
| 95 | + ] |
142 | 96 | }
|
0 commit comments