UNPKG

3.64 kBJSONView Raw
1{
2 "rules": {
3 "align": [
4 true,
5 "parameters",
6 "arguments",
7 "statements"
8 ],
9 "ban": [
10 true, ["_", "forEach"],
11 ["_", "each"],
12 ["$", "each"],
13 ["angular", "forEach"]
14 ],
15 "class-name": true,
16 "comment-format": [
17 true,
18 "check-space",
19 "check-lowercase"
20 ],
21 "curly": true,
22 "eofline": false,
23 "forin": true,
24 "indent": [
25 true,
26 4
27 ],
28 "jsdoc-format": true,
29 "label-position": true,
30 "max-line-length": [
31 true,
32 140
33 ],
34 "member-access": true,
35 "member-ordering": [
36 true,
37 {
38 "order": "fields-first"
39 }
40 ],
41 "new-parens": true,
42 "no-angle-bracket-type-assertion": true,
43 "no-any": false,
44 "no-arg": true,
45 "no-bitwise": true,
46 "no-conditional-assignment": true,
47 "no-consecutive-blank-lines": false,
48 "no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
49 "no-construct": true,
50 "no-debugger": true,
51 "no-duplicate-variable": true,
52 "no-empty": true,
53 "no-eval": true,
54 "no-inferrable-types": false,
55 "no-internal-module": true,
56 "no-invalid-this": [
57 true,
58 "check-function-in-method"
59 ],
60 "no-null-keyword": true,
61 "no-reference": true,
62 "no-require-imports": true,
63 "no-shadowed-variable": true,
64 "no-string-literal": true,
65 "no-switch-case-fall-through": true,
66 "no-trailing-whitespace": true,
67 "no-unused-expression": true,
68 "no-use-before-declare": true,
69 "no-var-keyword": true,
70 "no-var-requires": true,
71 "object-literal-sort-keys": true,
72 "one-line": [
73 true,
74 "check-open-brace",
75 "check-catch",
76 "check-else",
77 "check-finally",
78 "check-whitespace"
79 ],
80 "one-variable-per-declaration": [true,
81 "ignore-for-loop"
82 ],
83 "quotemark": [
84 true,
85 "single",
86 "avoid-escape"
87 ],
88 "radix": true,
89 "semicolon": [true, "always"],
90 "switch-default": true,
91 "trailing-comma": [false],
92 "triple-equals": [
93 true,
94 "allow-null-check",
95 "allow-undefined-check"
96 ],
97 "typedef": [
98 false,
99 "call-signature",
100 "parameter",
101 "arrow-parameter",
102 "property-declaration",
103 "variable-declaration",
104 "member-variable-declaration"
105 ],
106 "typedef-whitespace": [
107 true,
108 {
109 "call-signature": "nospace",
110 "index-signature": "nospace",
111 "parameter": "nospace",
112 "property-declaration": "nospace",
113 "variable-declaration": "nospace"
114 },
115 {
116 "call-signature": "space",
117 "index-signature": "space",
118 "parameter": "space",
119 "property-declaration": "space",
120 "variable-declaration": "space"
121 }
122 ],
123 "use-isnan": true,
124 "variable-name": [false],
125 "whitespace": [
126 false,
127 "check-branch",
128 "check-decl",
129 "check-operator",
130 "check-separator"
131 ]
132 }
133}