-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
82 lines (82 loc) · 2.47 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react-hooks"],
"jsRules": {
"object-literal-sort-keys": false,
"trailing-comma": false,
"quotemark": [true, "single", "jsx-double"]
},
"rules": {
"react-hooks-nesting": "error",
"no-unused-expression": [true, "allow-fast-null-checks"],
"ordered-imports": false,
"member-access": false,
"member-ordering": false,
"object-literal-sort-keys": false,
"trailing-comma": false,
"interface-name": false,
"no-console": false,
"no-default-export": false,
"no-implicit-dependencies": false,
"no-submodule-imports": false,
"no-null-keyword": false,
"no-magic-numbers": false,
"no-non-null-assertion": false,
"no-import-side-effect": false,
"completed-docs": false,
"no-void-expression": false,
"strict-boolean-expressions": false,
"no-unsafe-any": false,
"no-unnecessary-type-assertion": false,
"no-inferred-empty-object-type": false,
"no-object-literal-type-assertion": false,
"typedef": false,
"prefer-function-over-method": false,
"comment-format": false,
"interface-over-type-literal": false,
"align": false,
"newline-before-return": false,
"type-literal-delimiter": false,
"only-arrow-functions": false,
"arrow-return-shorthand": true,
"arrow-parens": false,
"newline-per-chained-call": false,
"object-curly-spacing": [true, "always"],
"semicolon": false,
"no-shadowed-variable": false,
"ter-indent": [
true,
2,
{
"SwitchCase": 1
}
],
"ter-no-sparse-arrays": true,
"ter-func-call-spacing": [true, "never"],
"ter-arrow-parens": [true, "as-needed"],
"ter-arrow-spacing": [true],
"cyclomatic-complexity": [true, 10],
"curly": false,
"no-multi-spaces": true,
"no-extra-semi": true,
"array-bracket-spacing": [true, "never"],
"brace-style": [true, "1tbs"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"quotemark": [true, "single", "jsx-double"],
"no-consecutive-blank-lines": [true],
"no-trailing-whitespace": [true],
"one-variable-per-declaration": [false],
"space-in-parens": [true, "never"],
"no-var-keyword": true,
"no-var-requires": false,
"no-namespace": false,
"no-conditional-assignment": false
},
"rulesDirectory": ["node_modules/tslint-eslint-rules/dist/rules"]
}