UNPKG

2.98 kBJSONView Raw
1{
2 "rules": {
3 "adjacent-overload-signatures": true,
4 "array-type": [ true, "array" ],
5 "arrow-parens": true,
6 "arrow-return-shorthand": true,
7 "class-name": true,
8 "comment-format": [ true, "check-space" ],
9 "completed-docs": [ true, "classes", "functions", "methods", "properties" ],
10 "curly": true,
11 "eofline": true,
12 "import-spacing": true,
13 "indent": [ true, "spaces" ],
14 "interface-over-type-literal": true,
15 "jsdoc-format": true,
16 "member-access": true,
17 "member-ordering": [ true, {
18 "order": [
19 "static-field",
20 "static-method",
21 "constructor",
22 "instance-field",
23 "instance-method"
24 ]
25 } ],
26 "new-parens": true,
27 "no-arg": true,
28 "no-bitwise": true,
29 "no-console": [ true, "assert", "count", "debug", "dir", "error", "group", "groupCollapsed", "groupEnd", "info", "log", "profile", "profileEnd", "time", "warn", "trace" ],
30 "no-construct": true,
31 "no-debugger": true,
32 "no-duplicate-variable": true,
33 "no-empty-interface": true,
34 "no-empty": true,
35 "no-eval": true,
36 "no-floating-promises": true,
37 "no-for-in-array": true,
38 "no-inferrable-types": [ true, "ignore-params" ],
39 "no-internal-module": true,
40 "no-invalid-this": true,
41 "no-mergeable-namespace": true,
42 "no-misused-new": true,
43 "no-namespace": true,
44 "no-reference": true,
45 "no-string-throw": true,
46 "no-switch-case-fall-through": true,
47 "no-trailing-whitespace": true,
48 "no-unsafe-finally": true,
49 "no-unused-new": true,
50 "no-var-keyword": true,
51 "no-void-expression": true,
52 "object-literal-key-quotes": [ true, "as-needed" ],
53 "object-literal-shorthand": true,
54 "one-line": [ true, "check-catch", "check-else", "check-finally", "check-open-brace", "check-whitespace" ],
55 "one-variable-per-declaration": [ true ],
56 "prefer-for-of": true,
57 "prefer-method-signature": true,
58 "promise-function-async": true,
59 "quotemark": [ true, "single", "avoid-escape" ],
60 "radix": true,
61 "restrict-plus-operands": true,
62 "semicolon": [ true, "always" ],
63 "switch-default": true,
64 "trailing-comma": [ true, { "multiline": "never", "singleline": "never" } ],
65 "triple-equals": [ true, "allow-null-check", "allow-undefined-check" ],
66 "typedef-whitespace": [ true,
67 {
68 "call-signature": "nospace",
69 "index-signature": "nospace",
70 "parameter": "nospace",
71 "property-declaration": "nospace",
72 "variable-declaration": "nospace"
73 },
74 {
75 "call-signature": "onespace",
76 "index-signature": "onespace",
77 "parameter": "onespace",
78 "property-declaration": "onespace",
79 "variable-declaration": "onespace"
80 }
81 ],
82 "typeof-compare": true,
83 "unified-signatures": true,
84 "use-isnan": true,
85 "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type" ]
86 }
87}
\No newline at end of file