blob: a91935194bdc66290f8d40f6052b06375f87f64a [file] [log] [blame]
PatrikBuhra2bc79c2019-10-29 13:39:00 +01001{
2 "rulesDirectory": [
3 "codelyzer"
4 ],
5 "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,
14 "deprecation": {
15 "severity": "warn"
16 },
17 "eofline": true,
18 "forin": true,
19 "import-blacklist": [
20 true,
21 "rxjs/Rx"
22 ],
23 "import-spacing": true,
24 "indent": [
25 true,
26 "spaces"
27 ],
28 "interface-over-type-literal": true,
29 "label-position": true,
30 "max-line-length": [
31 true,
32 140
33 ],
34 "member-access": false,
35 "member-ordering": [
36 true,
37 {
38 "order": [
39 "static-field",
40 "instance-field",
41 "static-method",
42 "instance-method"
43 ]
44 }
45 ],
46 "no-arg": true,
47 "no-bitwise": true,
48 "no-console": [
49 true,
50 "debug",
51 "info",
52 "time",
53 "timeEnd",
54 "trace"
55 ],
56 "no-construct": true,
57 "no-debugger": true,
58 "no-duplicate-super": true,
59 "no-empty": false,
60 "no-empty-interface": true,
61 "no-eval": true,
62 "no-inferrable-types": [
63 true,
64 "ignore-params"
65 ],
66 "no-misused-new": true,
67 "no-non-null-assertion": true,
68 "no-redundant-jsdoc": true,
69 "no-shadowed-variable": true,
70 "no-string-literal": false,
71 "no-string-throw": true,
72 "no-switch-case-fall-through": true,
73 "no-trailing-whitespace": true,
74 "no-unnecessary-initializer": true,
75 "no-unused-expression": true,
76 "no-use-before-declare": true,
77 "no-var-keyword": true,
78 "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 "unified-signatures": true,
111 "variable-name": false,
112 "whitespace": [
113 true,
114 "check-branch",
115 "check-decl",
116 "check-operator",
117 "check-separator",
118 "check-type"
119 ],
120 "no-output-on-prefix": true,
121 "no-inputs-metadata-property": true,
122 "no-outputs-metadata-property": true,
123 "no-host-metadata-property": true,
124 "no-input-rename": true,
125 "no-output-rename": true,
126 "use-lifecycle-interface": true,
127 "use-pipe-transform-interface": true,
128 "component-class-suffix": true,
129 "directive-class-suffix": true
130 }
131}