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