-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
60 lines (60 loc) · 1.85 KB
/
tslint.json
File metadata and controls
60 lines (60 loc) · 1.85 KB
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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules"
],
"jsRules": {
"quotemark": [true, "single", "jsx-double", "avoid-escape", "avoid-template"],
"object-literal-sort-keys": false,
"variable-name": [true, "ban-keywords"]
},
"rules": {
"jsx-no-multiline-js": false,
"jsx-boolean-value": [true, "never"],
"jsx-space-before-trailing-slash": true,
"jsx-key": true,
"jsx-use-translation-function": [true, "allow-punctuation", "allow-htmlentities"],
"jsx-wrap-multiline": true,
"jsx-no-lambda": true,
"jsx-no-bind": true,
"quotemark": [true, "single", "jsx-double", "avoid-escape", "avoid-template"],
"interface-name": false,
"member-access": [true, "no-public"],
"ordered-imports": [true, { "grouped-imports": true, "import-sources-order": "any", "named-imports-order": "any" }],
"object-literal-sort-keys": false,
"object-literal-key-quotes": [true, "as-needed"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"object-curly-spacing": [true, "always"],
"array-bracket-spacing": [true, "never"],
"block-spacing": true,
"brace-style": [true, "1tbs", { "allowSingleLine": true }],
"no-implicit-dependencies": true,
"trailing-comma": [true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"imports": "always",
"exports": "always",
"typeLiterals": "always"
},
"esSpecCompliant": true
}],
"max-line-length": [true, { "limit": 110, "ignore-pattern": "^import |`(.+)`" }]
},
"rulesDirectory": []
}