UNPKG

2.66 kBJSONView Raw
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-prefix": [true, "app"],
97 "component-selector-prefix": [true, "app"],
98 "directive-selector-name": [true, "camelCase"],
99 "component-selector-name": [true, "kebab-case"],
100 "directive-selector-type": [true, "attribute"],
101 "component-selector-type": [true, "element"],
102 "use-input-property-decorator": true,
103 "use-output-property-decorator": true,
104 "use-host-property-decorator": true,
105 "no-input-rename": true,
106 "no-output-rename": true,
107 "use-life-cycle-interface": true,
108 "use-pipe-transform-interface": true,
109 "component-class-suffix": true,
110 "directive-class-suffix": true,
111 "templates-use-public": true,
112 "invoke-injectable": true
113 }
114}