|
1 | 1 | { |
| 2 | + "extends": "tslint:recommended", |
2 | 3 | "rulesDirectory": [ |
3 | | - "../../../../node_modules/codelyzer" |
| 4 | + "codelyzer" |
4 | 5 | ], |
5 | 6 | "rules": { |
| 7 | + "align": { |
| 8 | + "options": [ |
| 9 | + "parameters", |
| 10 | + "statements" |
| 11 | + ] |
| 12 | + }, |
| 13 | + "array-type": false, |
6 | 14 | "arrow-return-shorthand": true, |
7 | | - "callable-types": true, |
8 | | - "class-name": true, |
9 | | - "comment-format": [ |
10 | | - true, |
11 | | - "check-space" |
12 | | - ], |
13 | 15 | "curly": true, |
14 | 16 | "deprecation": { |
15 | | - "severity": "warn" |
| 17 | + "severity": "warning" |
16 | 18 | }, |
17 | 19 | "eofline": true, |
18 | | - "forin": true, |
19 | 20 | "import-blacklist": [ |
20 | 21 | true, |
21 | | - "rxjs", |
22 | 22 | "rxjs/Rx" |
23 | 23 | ], |
24 | 24 | "import-spacing": true, |
25 | | - "indent": [ |
26 | | - true, |
27 | | - "spaces" |
28 | | - ], |
29 | | - "interface-over-type-literal": true, |
30 | | - "label-position": true, |
| 25 | + "indent": { |
| 26 | + "options": [ |
| 27 | + "spaces" |
| 28 | + ] |
| 29 | + }, |
| 30 | + "max-classes-per-file": false, |
31 | 31 | "max-line-length": [ |
32 | 32 | true, |
33 | 33 | 140 |
34 | 34 | ], |
35 | | - "member-access": false, |
36 | 35 | "member-ordering": [ |
37 | 36 | true, |
38 | 37 | { |
|
44 | 43 | ] |
45 | 44 | } |
46 | 45 | ], |
47 | | - "no-arg": true, |
48 | | - "no-bitwise": true, |
49 | 46 | "no-console": [ |
50 | 47 | true, |
51 | 48 | "debug", |
|
54 | 51 | "timeEnd", |
55 | 52 | "trace" |
56 | 53 | ], |
57 | | - "no-construct": true, |
58 | | - "no-debugger": true, |
59 | | - "no-duplicate-super": true, |
60 | 54 | "no-empty": false, |
61 | | - "no-empty-interface": true, |
62 | | - "no-eval": true, |
63 | 55 | "no-inferrable-types": [ |
64 | 56 | true, |
65 | 57 | "ignore-params" |
66 | 58 | ], |
67 | | - "no-misused-new": true, |
68 | 59 | "no-non-null-assertion": true, |
69 | | - "no-shadowed-variable": true, |
70 | | - "no-string-literal": false, |
71 | | - "no-string-throw": true, |
| 60 | + "no-redundant-jsdoc": true, |
72 | 61 | "no-switch-case-fall-through": true, |
73 | | - "no-trailing-whitespace": true, |
74 | | - "no-unnecessary-initializer": true, |
75 | | - "no-unused-expression": true, |
76 | | - "no-use-before-declare": true, |
77 | | - "no-var-keyword": true, |
78 | | - "object-literal-sort-keys": false, |
79 | | - "one-line": [ |
| 62 | + "no-var-requires": false, |
| 63 | + "object-literal-key-quotes": [ |
80 | 64 | true, |
81 | | - "check-open-brace", |
82 | | - "check-catch", |
83 | | - "check-else", |
84 | | - "check-whitespace" |
| 65 | + "as-needed" |
85 | 66 | ], |
86 | | - "prefer-const": true, |
87 | 67 | "quotemark": [ |
88 | 68 | true, |
89 | 69 | "single" |
90 | 70 | ], |
91 | | - "radix": true, |
92 | | - "semicolon": [ |
93 | | - true, |
94 | | - "always" |
95 | | - ], |
96 | | - "triple-equals": [ |
97 | | - true, |
98 | | - "allow-null-check" |
99 | | - ], |
100 | | - "typedef-whitespace": [ |
101 | | - true, |
102 | | - { |
103 | | - "call-signature": "nospace", |
104 | | - "index-signature": "nospace", |
105 | | - "parameter": "nospace", |
106 | | - "property-declaration": "nospace", |
107 | | - "variable-declaration": "nospace" |
| 71 | + "semicolon": { |
| 72 | + "options": [ |
| 73 | + "always" |
| 74 | + ] |
| 75 | + }, |
| 76 | + "space-before-function-paren": { |
| 77 | + "options": { |
| 78 | + "anonymous": "never", |
| 79 | + "asyncArrow": "always", |
| 80 | + "constructor": "never", |
| 81 | + "method": "never", |
| 82 | + "named": "never" |
108 | 83 | } |
109 | | - ], |
110 | | - "unified-signatures": true, |
111 | | - "variable-name": false, |
112 | | - "whitespace": [ |
113 | | - true, |
114 | | - "check-branch", |
115 | | - "check-decl", |
116 | | - "check-operator", |
117 | | - "check-separator", |
118 | | - "check-type" |
119 | | - ], |
120 | | - "directive-selector": [ |
121 | | - true, |
122 | | - "attribute", |
123 | | - "app", |
124 | | - "camelCase" |
125 | | - ], |
126 | | - "component-selector": [ |
127 | | - true, |
128 | | - "element", |
129 | | - "app", |
130 | | - "kebab-case" |
131 | | - ], |
132 | | - "no-output-on-prefix": true, |
133 | | - "no-inputs-metadata-property": true, |
134 | | - "no-outputs-metadata-property": true, |
| 84 | + }, |
| 85 | + "typedef-whitespace": { |
| 86 | + "options": [ |
| 87 | + { |
| 88 | + "call-signature": "nospace", |
| 89 | + "index-signature": "nospace", |
| 90 | + "parameter": "nospace", |
| 91 | + "property-declaration": "nospace", |
| 92 | + "variable-declaration": "nospace" |
| 93 | + }, |
| 94 | + { |
| 95 | + "call-signature": "onespace", |
| 96 | + "index-signature": "onespace", |
| 97 | + "parameter": "onespace", |
| 98 | + "property-declaration": "onespace", |
| 99 | + "variable-declaration": "onespace" |
| 100 | + } |
| 101 | + ] |
| 102 | + }, |
| 103 | + "whitespace": { |
| 104 | + "options": [ |
| 105 | + "check-branch", |
| 106 | + "check-decl", |
| 107 | + "check-operator", |
| 108 | + "check-separator", |
| 109 | + "check-type", |
| 110 | + "check-typecast" |
| 111 | + ] |
| 112 | + }, |
| 113 | + "component-class-suffix": true, |
| 114 | + "contextual-lifecycle": true, |
| 115 | + "directive-class-suffix": true, |
| 116 | + "no-conflicting-lifecycle": true, |
135 | 117 | "no-host-metadata-property": true, |
136 | 118 | "no-input-rename": true, |
| 119 | + "no-inputs-metadata-property": true, |
| 120 | + "no-output-native": true, |
| 121 | + "no-output-on-prefix": true, |
137 | 122 | "no-output-rename": true, |
| 123 | + "no-outputs-metadata-property": true, |
| 124 | + "template-banana-in-box": true, |
| 125 | + "template-no-negated-async": true, |
138 | 126 | "use-lifecycle-interface": true, |
139 | | - "use-pipe-transform-interface": true, |
140 | | - "component-class-suffix": true, |
141 | | - "directive-class-suffix": true |
| 127 | + "use-pipe-transform-interface": true |
142 | 128 | } |
143 | 129 | } |
0 commit comments