|
1 | 1 | {
|
2 |
| - "rulesDirectory": [ |
3 |
| - "node_modules/codelyzer" |
4 |
| - ], |
| 2 | + "extends": "tslint:recommended", |
5 | 3 | "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, |
| 4 | + "array-type": false, |
| 5 | + "arrow-parens": false, |
14 | 6 | "deprecation": {
|
15 |
| - "severity": "warn" |
| 7 | + "severity": "warning" |
16 | 8 | },
|
17 |
| - "eofline": true, |
18 |
| - "forin": true, |
19 |
| - "import-blacklist": [ |
20 |
| - true, |
21 |
| - "rxjs", |
22 |
| - "rxjs/Rx" |
23 |
| - ], |
24 |
| - "import-spacing": true, |
25 |
| - "indent": [ |
26 |
| - true, |
27 |
| - "spaces" |
28 |
| - ], |
29 |
| - "interface-over-type-literal": true, |
30 |
| - "label-position": true, |
31 |
| - "max-line-length": [ |
32 |
| - true, |
33 |
| - 140 |
34 |
| - ], |
| 9 | + "component-class-suffix": true, |
| 10 | + "contextual-lifecycle": true, |
| 11 | + "directive-class-suffix": true, |
| 12 | + "directive-selector": [true, "attribute", "app", "camelCase"], |
| 13 | + "component-selector": [true, "element", "app", "kebab-case"], |
| 14 | + "import-blacklist": [true, "rxjs/Rx"], |
| 15 | + "interface-name": false, |
| 16 | + "max-classes-per-file": false, |
| 17 | + "max-line-length": [true, 140], |
35 | 18 | "member-access": false,
|
36 | 19 | "member-ordering": [
|
37 | 20 | true,
|
|
44 | 27 | ]
|
45 | 28 | }
|
46 | 29 | ],
|
47 |
| - "no-arg": true, |
48 |
| - "no-bitwise": true, |
49 |
| - "no-console": [ |
50 |
| - true, |
51 |
| - "debug", |
52 |
| - "info", |
53 |
| - "time", |
54 |
| - "timeEnd", |
55 |
| - "trace" |
56 |
| - ], |
57 |
| - "no-construct": true, |
58 |
| - "no-debugger": true, |
59 |
| - "no-duplicate-super": true, |
| 30 | + "no-consecutive-blank-lines": false, |
| 31 | + "no-console": [true, "debug", "info", "time", "timeEnd", "trace"], |
60 | 32 | "no-empty": false,
|
61 |
| - "no-empty-interface": true, |
62 |
| - "no-eval": true, |
63 |
| - "no-inferrable-types": [ |
64 |
| - true, |
65 |
| - "ignore-params" |
66 |
| - ], |
67 |
| - "no-misused-new": true, |
| 33 | + "no-inferrable-types": [true, "ignore-params"], |
68 | 34 | "no-non-null-assertion": true,
|
69 |
| - "no-shadowed-variable": true, |
70 |
| - "no-string-literal": false, |
71 |
| - "no-string-throw": true, |
| 35 | + "no-redundant-jsdoc": true, |
72 | 36 | "no-switch-case-fall-through": true,
|
73 |
| - "no-trailing-whitespace": true, |
74 |
| - "no-unnecessary-initializer": true, |
75 |
| - "no-unused-expression": true, |
76 | 37 | "no-use-before-declare": true,
|
77 |
| - "no-var-keyword": true, |
| 38 | + "no-var-requires": false, |
| 39 | + "object-literal-key-quotes": [true, "as-needed"], |
78 | 40 | "object-literal-sort-keys": false,
|
79 |
| - "one-line": [ |
80 |
| - true, |
81 |
| - "check-open-brace", |
82 |
| - "check-catch", |
83 |
| - "check-else", |
84 |
| - "check-whitespace" |
85 |
| - ], |
86 |
| - "prefer-const": true, |
87 |
| - "quotemark": [ |
88 |
| - true, |
89 |
| - "single" |
90 |
| - ], |
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" |
108 |
| - } |
109 |
| - ], |
110 |
| - "typeof-compare": true, |
111 |
| - "unified-signatures": true, |
112 |
| - "variable-name": false, |
113 |
| - "whitespace": [ |
114 |
| - true, |
115 |
| - "check-branch", |
116 |
| - "check-decl", |
117 |
| - "check-operator", |
118 |
| - "check-separator", |
119 |
| - "check-type" |
120 |
| - ], |
121 |
| - "directive-selector": [ |
122 |
| - true, |
123 |
| - "attribute", |
124 |
| - "app", |
125 |
| - "camelCase" |
126 |
| - ], |
127 |
| - "component-selector": [ |
128 |
| - true, |
129 |
| - "element", |
130 |
| - "app", |
131 |
| - "kebab-case" |
132 |
| - ], |
133 |
| - "no-output-on-prefix": true, |
134 |
| - "use-input-property-decorator": true, |
135 |
| - "use-output-property-decorator": true, |
136 |
| - "use-host-property-decorator": true, |
| 41 | + "ordered-imports": false, |
| 42 | + "quotemark": [true, "single"], |
| 43 | + "trailing-comma": false, |
| 44 | + "no-conflicting-lifecycle": true, |
| 45 | + "no-host-metadata-property": true, |
137 | 46 | "no-input-rename": true,
|
| 47 | + "no-inputs-metadata-property": true, |
| 48 | + "no-output-native": true, |
| 49 | + "no-output-on-prefix": true, |
138 | 50 | "no-output-rename": true,
|
139 |
| - "use-life-cycle-interface": true, |
140 |
| - "use-pipe-transform-interface": true, |
141 |
| - "component-class-suffix": true, |
142 |
| - "directive-class-suffix": true |
143 |
| - } |
| 51 | + "no-outputs-metadata-property": true, |
| 52 | + "template-banana-in-box": true, |
| 53 | + "template-no-negated-async": true, |
| 54 | + "use-lifecycle-interface": true, |
| 55 | + "use-pipe-transform-interface": true |
| 56 | + }, |
| 57 | + "rulesDirectory": ["codelyzer"] |
144 | 58 | }
|
0 commit comments