|
1 | 1 | {
|
2 | 2 | "extends": "tslint:recommended",
|
3 |
| - "rulesDirectory": [ |
4 |
| - "codelyzer" |
5 |
| - ], |
| 3 | + "rulesDirectory": ["codelyzer"], |
6 | 4 | "rules": {
|
7 | 5 | "align": {
|
8 |
| - "options": [ |
9 |
| - "parameters", |
10 |
| - "statements" |
11 |
| - ] |
| 6 | + "options": ["parameters", "statements"] |
12 | 7 | },
|
13 | 8 | "array-type": false,
|
14 | 9 | "arrow-parens": false,
|
15 | 10 | "arrow-return-shorthand": true,
|
16 | 11 | "deprecation": {
|
17 | 12 | "severity": "warning"
|
18 | 13 | },
|
19 |
| - "import-blacklist": [ |
20 |
| - true, |
21 |
| - "rxjs/Rx" |
22 |
| - ], |
| 14 | + "import-blacklist": [true, "rxjs/Rx"], |
23 | 15 | "curly": true,
|
24 | 16 | "interface-name": false,
|
25 | 17 | "max-classes-per-file": false,
|
26 | 18 | "eofline": true,
|
27 |
| - "max-line-length": [ |
28 |
| - true, |
29 |
| - 140 |
30 |
| - ], |
| 19 | + "max-line-length": [true, 140], |
31 | 20 | "import-spacing": true,
|
32 | 21 | "indent": {
|
33 |
| - "options": [ |
34 |
| - "spaces" |
35 |
| - ] |
| 22 | + "options": ["spaces"] |
36 | 23 | },
|
37 | 24 | "member-access": false,
|
38 | 25 | "member-ordering": [
|
|
47 | 34 | }
|
48 | 35 | ],
|
49 | 36 | "no-consecutive-blank-lines": false,
|
50 |
| - "no-console": [ |
51 |
| - true, |
52 |
| - "debug", |
53 |
| - "info", |
54 |
| - "time", |
55 |
| - "timeEnd", |
56 |
| - "trace" |
57 |
| - ], |
| 37 | + "no-console": [true, "debug", "info", "time", "timeEnd", "trace"], |
58 | 38 | "no-empty": false,
|
59 |
| - "no-inferrable-types": [ |
60 |
| - true, |
61 |
| - "ignore-params" |
62 |
| - ], |
| 39 | + "no-inferrable-types": [true, "ignore-params"], |
63 | 40 | "no-non-null-assertion": true,
|
64 | 41 | "no-redundant-jsdoc": true,
|
65 | 42 | "no-switch-case-fall-through": true,
|
66 | 43 | "no-var-requires": false,
|
67 |
| - "object-literal-key-quotes": [ |
68 |
| - true, |
69 |
| - "as-needed" |
70 |
| - ], |
| 44 | + "object-literal-key-quotes": [true, "as-needed"], |
71 | 45 | "object-literal-sort-keys": false,
|
72 | 46 | "ordered-imports": false,
|
73 |
| - "quotemark": [ |
74 |
| - true, |
75 |
| - "single" |
76 |
| - ], |
| 47 | + "quotemark": [true, "single"], |
77 | 48 | "trailing-comma": false,
|
78 | 49 | "component-class-suffix": true,
|
79 | 50 | "contextual-lifecycle": true,
|
|
86 | 57 | "no-output-on-prefix": true,
|
87 | 58 | "no-output-rename": true,
|
88 | 59 | "semicolon": {
|
89 |
| - "options": [ |
90 |
| - "always" |
91 |
| - ] |
| 60 | + "options": ["always", "ignore-bound-class-methods"] |
92 | 61 | },
|
93 | 62 | "space-before-function-paren": {
|
94 | 63 | "options": {
|
|
126 | 95 | "options": [
|
127 | 96 | "ban-keywords",
|
128 | 97 | "check-format",
|
129 |
| - "allow-pascal-case" |
| 98 | + "allow-pascal-case", |
| 99 | + "allow-leading-underscore" |
130 | 100 | ]
|
131 | 101 | },
|
132 | 102 | "whitespace": {
|
|
0 commit comments