blob: cb6dee50cc29e1002ca39ea43697cccf308f711e [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001{
2 "rulesDirectory": [
3 "../../node_modules/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",
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 ],
35 "member-access": false,
36 "member-ordering": [
37 true,
38 {
39 "order": [
40 "static-field",
41 "instance-field",
42 "static-method",
43 "instance-method"
44 ]
45 }
46 ],
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,
60 "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,
68 "no-non-null-assertion": 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 "directive-selector": [
121 true,
122 "attribute",
123 "onos",
124 "camelCase"
125 ],
126 "component-selector": [
127 true,
128 "element",
129 "onos",
130 "kebab-case"
131 ],
132 "no-output-on-prefix": true,
133 "use-input-property-decorator": true,
134 "use-output-property-decorator": true,
135 "use-host-property-decorator": true,
136 "no-input-rename": true,
137 "no-output-rename": true,
138 "use-life-cycle-interface": true,
139 "use-pipe-transform-interface": true,
140 "component-class-suffix": true,
141 "directive-class-suffix": true
142 }
143}