-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
54 lines (53 loc) · 1.68 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
{
"extends": ["tslint:recommended", "tslint-eslint-rules", "tslint-react", "tslint:latest", "tslint-config-prettier", "tslint-no-circular-imports"],
"linterOptions": {
"exclude": ["node_modules", "dist"]
},
"rules": {
"jsx-no-lambda": false,
"quotemark": [true, "double", "jsx-double", "avoid-escape"],
"semicolon": [true, "never"],
"member-access": [false],
"member-ordering": [false],
"no-empty": false,
"no-submodule-imports": false,
"no-implicit-dependencies": false,
"no-constant-condition": false,
"triple-equals": [true, "allow-undefined-check"],
"no-duplicate-imports": true,
"no-shadowed-variable": false,
"no-any": true,
"no-object-literal-type-assertion": false,
"ordered-imports": false,
"array-type": [true, "generic"],
"class-name": true,
"curly": false,
"deprecation": true,
"indent": [true, "spaces", 2],
"interface-name": false,
"import-spacing": true,
"max-classes-per-file": [true, 1],
"max-file-line-count": [true, 400],
"no-construct": true,
"no-empty-interface": false,
"no-parameter-reassignment": true,
"no-string-literal": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"prefer-const": true,
"prefer-for-of": true,
"prefer-object-spread": true,
"prefer-switch": true,
"prefer-template": true,
"object-literal-sort-keys": false,
"arrow-return-shorthand": true,
"arrow-parens": true,
"only-arrow-functions": true,
"jsx-alignment": true,
"jsx-boolean-value": "never",
"jsx-key": true,
"jsx-space-before-trailing-slash": true,
"jsx-wrap-multiline": true
}
}