blob: d8902fad92bd2eaba0386acb4c2abba499c8dcb4 [file] [log] [blame]
Matteo Scandolod819c922016-12-02 14:06:14 -08001{
2 "rulesDirectory": [
3 "node_modules/codelyzer"
4 ],
5 "rules": {
6 "directive-selector-name": [true, "camelCase"],
7 "component-selector-name": [true, "kebab-case"],
8 "directive-selector-type": [true, "attribute"],
9 "component-selector-type": [true, "element"],
Matteo Scandolo43ffb672016-12-02 14:49:58 -080010 "directive-selector-prefix": [true, "xos"],
11 "component-selector-prefix": [true, "xos"],
Matteo Scandolod819c922016-12-02 14:06:14 -080012 "use-input-property-decorator": true,
13 "use-output-property-decorator": true,
14 "use-host-property-decorator": true,
15 "no-attribute-parameter-decorator": true,
16 "no-input-rename": true,
17 "no-output-rename": true,
18 "no-forward-ref" :true,
19 "use-life-cycle-interface": true,
20 "use-pipe-transform-interface": true,
Matteo Scandolo43ffb672016-12-02 14:49:58 -080021 "pipe-naming": [true, "camelCase", "xos"],
Matteo Scandolod819c922016-12-02 14:06:14 -080022 "component-class-suffix": true,
23 "directive-class-suffix": true,
24 "ban": [true,
25 ["_", "extend"],
26 ["_", "isNull"],
27 ["_", "isDefined"]
28 ],
29 "class-name": true,
30 "comment-format": [true,
31 "check-space",
32 "check-lowercase"
33 ],
34 "curly": true,
35 "eofline": true,
36 "forin": true,
37 "indent": [true, 2],
38 "interface-name": true,
39 "jsdoc-format": true,
40 "label-position": true,
41 "label-undefined": true,
42 "max-line-length": [false, 140],
43 "member-ordering": [true,
44 "public-before-private",
45 "static-before-instance",
46 "variables-before-functions"
47 ],
48 "no-arg": true,
49 "no-bitwise": true,
50 "no-console": [true,
51 "debug",
52 "info",
53 "time",
54 "timeEnd",
55 "trace"
56 ],
57 "no-construct": true,
58 "no-constructor-vars": false,
59 "no-debugger": true,
60 "no-duplicate-key": true,
61 "no-duplicate-variable": true,
62 "no-empty": true,
63 "no-eval": true,
64 "no-string-literal": true,
65 "no-switch-case-fall-through": true,
66 "trailing-comma": true,
67 "no-trailing-whitespace": true,
68 "no-unused-expression": true,
69 "no-unused-variable": true,
70 "no-unreachable": true,
71 "no-use-before-declare": true,
72 "no-var-requires": true,
73 "one-line": [true,
74 "check-open-brace",
75 "check-catch",
76 "check-else",
77 "check-whitespace"
78 ],
79 "quotemark": [true, "single"],
80 "radix": true,
81 "semicolon": true,
82 "triple-equals": [true, "allow-null-check"],
83 "typedef": [true,
84 "callSignature",
85 "indexSignature",
86 "parameter",
87 "propertySignature",
88 "variableDeclarator"
89 ],
90 "typedef-whitespace": [true,
91 ["callSignature", "noSpace"],
92 ["catchClause", "noSpace"],
93 ["indexSignature", "space"]
94 ],
95 "use-strict": false,
96 "variable-name": false,
97 "whitespace": [true,
98 "check-branch",
99 "check-decl",
100 "check-operator",
101 "check-separator",
102 "check-type"
103 ]
104 }
105}