blob: 5a958333844c285e548c3db59925d88ed3df2556 [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,
Matteo Scandolo0f77c502016-12-06 16:46:00 -080031 "check-space"
Matteo Scandolod819c922016-12-02 14:06:14 -080032 ],
33 "curly": true,
34 "eofline": true,
35 "forin": true,
36 "indent": [true, 2],
37 "interface-name": true,
38 "jsdoc-format": true,
39 "label-position": true,
40 "label-undefined": true,
41 "max-line-length": [false, 140],
42 "member-ordering": [true,
43 "public-before-private",
44 "static-before-instance",
45 "variables-before-functions"
46 ],
47 "no-arg": true,
48 "no-bitwise": true,
49 "no-console": [true,
50 "debug",
51 "info",
52 "time",
53 "timeEnd",
54 "trace"
55 ],
56 "no-construct": true,
57 "no-constructor-vars": false,
58 "no-debugger": true,
59 "no-duplicate-key": true,
60 "no-duplicate-variable": true,
61 "no-empty": true,
62 "no-eval": true,
63 "no-string-literal": true,
64 "no-switch-case-fall-through": true,
65 "trailing-comma": true,
66 "no-trailing-whitespace": true,
67 "no-unused-expression": true,
68 "no-unused-variable": true,
69 "no-unreachable": true,
70 "no-use-before-declare": true,
71 "no-var-requires": true,
72 "one-line": [true,
73 "check-open-brace",
74 "check-catch",
Matteo Scandolod819c922016-12-02 14:06:14 -080075 "check-whitespace"
76 ],
77 "quotemark": [true, "single"],
78 "radix": true,
79 "semicolon": true,
80 "triple-equals": [true, "allow-null-check"],
81 "typedef": [true,
82 "callSignature",
83 "indexSignature",
84 "parameter",
85 "propertySignature",
86 "variableDeclarator"
87 ],
88 "typedef-whitespace": [true,
89 ["callSignature", "noSpace"],
90 ["catchClause", "noSpace"],
91 ["indexSignature", "space"]
92 ],
93 "use-strict": false,
94 "variable-name": false,
95 "whitespace": [true,
96 "check-branch",
97 "check-decl",
98 "check-operator",
99 "check-separator",
100 "check-type"
101 ]
102 }
103}