-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
65 lines (65 loc) · 1.75 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
{
"extends": [
"tslint:recommended",
"tslint-eslint-rules",
"tslint-react",
"tslint-config-prettier",
"tslint-react-hooks"
],
"jsRules": {},
"rules": {
"interface-name": false,
"jsx-no-lambda": false,
"object-literal-sort-keys": false,
"quotemark": [true, "single", "avoid-escape"],
"no-debugger": true,
"indent": [true, "spaces", 2],
"variable-name": {
"options": ["ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"]
},
"curly": true,
"no-console": true,
"no-constant-condition": true,
"no-empty": [true],
"no-async-without-await": true,
"no-conditional-assignment": true,
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"linebreak-style": [true, "LF"],
"handle-callback-err": [true, "^(e|err|error)$"],
"array-bracket-spacing": [true, "never"],
"eofline": false,
"no-trailing-whitespace": [true, "ignore-blank-lines"],
"no-duplicate-variable": true,
"arrow-parens": true,
"ter-arrow-spacing": true,
"new-parens": true,
"ter-no-mixed-spaces-and-tabs": {
"type": "spaces"
},
"no-irregular-whitespace": true,
"whitespace": true,
"semicolon": [true, "always"],
"triple-equals": true,
"no-eval": true,
"no-sparse-arrays": true,
"no-ex-assign": true,
"no-var-keyword": true,
"ter-prefer-arrow-callback": true,
"prefer-const": true,
"jsx-boolean-value": false
},
"linterOptions": {
"exclude": [
"src/api/types/generated-schema.ts",
"src/api/types/generated-schema-seedbank.ts",
"src/types/documentProducer/generated-schema.ts"
]
}
}