blob: c040afa3596df541ffaaa25f364bda387ceab28d [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,
Sean Condon83fc39f2018-04-19 18:56:13 +010021 "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": [
Sean Condon83775682018-05-27 18:59:59 +010063 false,
Sean Condon83fc39f2018-04-19 18:56:13 +010064 "ignore-params"
65 ],
66 "no-misused-new": true,
67 "no-non-null-assertion": true,
68 "no-shadowed-variable": true,
69 "no-string-literal": false,
70 "no-string-throw": true,
71 "no-switch-case-fall-through": true,
72 "no-trailing-whitespace": true,
73 "no-unnecessary-initializer": true,
74 "no-unused-expression": true,
75 "no-use-before-declare": true,
76 "no-var-keyword": true,
77 "object-literal-sort-keys": false,
78 "one-line": [
79 true,
80 "check-open-brace",
81 "check-catch",
82 "check-else",
83 "check-whitespace"
84 ],
85 "prefer-const": true,
86 "quotemark": [
87 true,
88 "single"
89 ],
90 "radix": true,
91 "semicolon": [
92 true,
93 "always"
94 ],
95 "triple-equals": [
96 true,
97 "allow-null-check"
98 ],
99 "typedef-whitespace": [
100 true,
101 {
102 "call-signature": "nospace",
103 "index-signature": "nospace",
104 "parameter": "nospace",
105 "property-declaration": "nospace",
106 "variable-declaration": "nospace"
107 }
108 ],
109 "unified-signatures": true,
110 "variable-name": false,
111 "whitespace": [
112 true,
113 "check-branch",
114 "check-decl",
115 "check-operator",
116 "check-separator",
117 "check-type"
118 ],
119 "directive-selector": [
120 true,
121 "attribute",
122 "onos",
123 "camelCase"
124 ],
125 "component-selector": [
126 true,
127 "element",
128 "onos",
129 "kebab-case"
130 ],
131 "no-output-on-prefix": true,
132 "use-input-property-decorator": true,
133 "use-output-property-decorator": true,
134 "use-host-property-decorator": true,
135 "no-input-rename": true,
136 "no-output-rename": true,
137 "use-life-cycle-interface": true,
138 "use-pipe-transform-interface": true,
139 "component-class-suffix": true,
140 "directive-class-suffix": true
141 }
142}