-
Notifications
You must be signed in to change notification settings - Fork 5
/
tslint.json
122 lines (122 loc) · 3.61 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"compilerOptions": {
"noUnusedLocals": true,
"noUnusedParameters": true
},
"defaultSeverity": "error",
"extends": ["tslint-config-prettier"],
"rules": {
"array-type": false,
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": [true, "multiline"],
"callable-types": true,
"class-name": true,
"comment-format": [true, "check-space", "check-lowercase", {"ignore-words": ["TODO", "FIXME"]}],
"curly": true,
"deprecation": true,
"encoding": true,
"eofline": true,
"import-spacing": true,
"indent": [true, "tabs"],
"interface-name": false,
"interface-over-type-literal": false,
"max-classes-per-file": [true, 1],
"max-line-length": [true, 140],
"member-access": false,
"member-ordering": false,
"newline-before-return": false,
"no-any": true,
"no-arg": true,
"no-bitwise": false,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": [true, 2],
"no-console": [true, "log"],
"no-construct": true,
"no-debugger": true,
"no-default-export": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-empty-interface": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-inferred-empty-object-type": false,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-irregular-whitespace": true,
"no-misused-new": true,
"no-namespace": false,
"no-null-keyword": false,
"no-object-literal-type-assertion": true,
"no-reference-import": true,
"no-require-imports": true,
"no-shadowed-variable": false,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unbound-method": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unnecessary-type-assertion": true,
"no-unsafe-finally": true,
"no-unused-expression": false,
"no-use-before-declare": true,
"no-var-keyword": true,
"no-void-expression": false,
"object-literal-shorthand": true,
"object-literal-sort-keys": true,
"one-line": true,
"one-variable-per-declaration": true,
"ordered-imports": false,
"prefer-conditional-expression": true,
"prefer-const": true,
"prefer-for-of": true,
"prefer-function-over-method": true,
"prefer-switch": true,
"prefer-template": true,
"quotemark": [true, "single", "jsx-single", "avoid-escape"],
"radix": true,
"restrict-plus-operands": true,
"return-undefined": true,
"space-before-function-paren": [
true,
{
"anonymous": "never",
"asyncArrow": "never",
"named": "never",
"constructor": "never",
"method": "never"
}
],
"space-within-parens": [true, 0],
"strict-boolean-expressions": false,
"strict-type-predicates": true,
"switch-default": false,
"switch-final-break": false,
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"triple-equals": true,
"type-literal-delimiter": true,
"use-default-type-parameter": false,
"use-isnan": true,
"variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords", "allow-pascal-case"],
"whitespace": true
},
"rulesDirectory": ["tslint-plugin-prettier"],
"linterOptions": {
"exclude": [
".storybook/**/*.js",
"node_modules/**/*.ts",
"config-overrides.js"
]
}
}