|
1 | 1 | {
|
2 |
| - "rulesDirectory": ["node_modules/codelyzer"], |
3 | 2 | "rules": {
|
4 |
| - "max-line-length": [true, 100], |
5 |
| - "no-inferrable-types": true, |
6 | 3 | "class-name": true,
|
7 | 4 | "comment-format": [
|
8 | 5 | true,
|
9 | 6 | "check-space"
|
10 | 7 | ],
|
| 8 | + "curly": true, |
| 9 | + "eofline": true, |
| 10 | + "forin": true, |
11 | 11 | "indent": [
|
12 | 12 | true,
|
13 | 13 | "spaces"
|
14 | 14 | ],
|
15 |
| - "eofline": true, |
16 |
| - "no-duplicate-variable": true, |
17 |
| - "no-eval": true, |
| 15 | + "label-position": true, |
| 16 | + "label-undefined": true, |
| 17 | + "max-line-length": [ |
| 18 | + true, |
| 19 | + 140 |
| 20 | + ], |
| 21 | + "member-access": false, |
| 22 | + "member-ordering": [ |
| 23 | + true, |
| 24 | + "static-before-instance", |
| 25 | + "variables-before-functions" |
| 26 | + ], |
18 | 27 | "no-arg": true,
|
19 |
| - "no-internal-module": true, |
20 |
| - "no-trailing-whitespace": true, |
21 | 28 | "no-bitwise": true,
|
| 29 | + "no-console": [ |
| 30 | + true, |
| 31 | + "debug", |
| 32 | + "info", |
| 33 | + "time", |
| 34 | + "timeEnd", |
| 35 | + "trace" |
| 36 | + ], |
| 37 | + "no-construct": true, |
| 38 | + "no-debugger": true, |
| 39 | + "no-duplicate-key": true, |
| 40 | + "no-duplicate-variable": true, |
| 41 | + "no-empty": false, |
| 42 | + "no-eval": true, |
| 43 | + "no-inferrable-types": true, |
22 | 44 | "no-shadowed-variable": true,
|
| 45 | + "no-string-literal": false, |
| 46 | + "no-switch-case-fall-through": true, |
| 47 | + "no-trailing-whitespace": true, |
23 | 48 | "no-unused-expression": true,
|
24 | 49 | "no-unused-variable": true,
|
| 50 | + "no-unreachable": true, |
| 51 | + "no-use-before-declare": true, |
| 52 | + "no-var-keyword": true, |
| 53 | + "object-literal-sort-keys": false, |
25 | 54 | "one-line": [
|
26 | 55 | true,
|
| 56 | + "check-open-brace", |
27 | 57 | "check-catch",
|
28 | 58 | "check-else",
|
29 |
| - "check-open-brace", |
30 | 59 | "check-whitespace"
|
31 | 60 | ],
|
32 | 61 | "quotemark": [
|
33 | 62 | true,
|
34 |
| - "single", |
35 |
| - "avoid-escape" |
| 63 | + "single" |
| 64 | + ], |
| 65 | + "radix": true, |
| 66 | + "semicolon": [ |
| 67 | + "always" |
| 68 | + ], |
| 69 | + "triple-equals": [ |
| 70 | + true, |
| 71 | + "allow-null-check" |
36 | 72 | ],
|
37 |
| - "semicolon": [true, "always"], |
38 | 73 | "typedef-whitespace": [
|
39 | 74 | true,
|
40 | 75 | {
|
|
45 | 80 | "variable-declaration": "nospace"
|
46 | 81 | }
|
47 | 82 | ],
|
48 |
| - "curly": true, |
49 |
| - "variable-name": [ |
50 |
| - true, |
51 |
| - "ban-keywords", |
52 |
| - "check-format", |
53 |
| - "allow-trailing-underscore" |
54 |
| - ], |
| 83 | + "variable-name": false, |
55 | 84 | "whitespace": [
|
56 | 85 | true,
|
57 | 86 | "check-branch",
|
|
60 | 89 | "check-separator",
|
61 | 90 | "check-type"
|
62 | 91 | ],
|
| 92 | + |
| 93 | + "directive-selector-name": [true, "camelCase"], |
63 | 94 | "component-selector-name": [true, "kebab-case"],
|
| 95 | + "directive-selector-type": [true, "attribute"], |
64 | 96 | "component-selector-type": [true, "element"],
|
65 |
| - "use-host-property-decorator": true, |
66 | 97 | "use-input-property-decorator": true,
|
67 | 98 | "use-output-property-decorator": true,
|
68 |
| - "no-attribute-parameter-decorator": true, |
| 99 | + "use-host-property-decorator": true, |
69 | 100 | "no-input-rename": true,
|
70 |
| - "no-output-rename": true |
| 101 | + "no-output-rename": true, |
| 102 | + "use-life-cycle-interface": true, |
| 103 | + "use-pipe-transform-interface": true, |
| 104 | + "component-class-suffix": true, |
| 105 | + "directive-class-suffix": true |
71 | 106 | }
|
72 | 107 | }
|
0 commit comments