UNPKG

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