This repository has been archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
67 lines (67 loc) · 1.87 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
{
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"rules": {
"react/prop-types": false,
"comma-dangle": false,
"no-undef": false,
"member-ordering": false,
"object-literal-sort-keys": false, //Disable for typescript,
"no-console": false,
"one-variable-per-declaration": false,
"curly": false,
"variable-name": false,
"jsdoc-format": false,
"radix": false,
"no-shadowed-variable": false,
"no-empty": false,
"no-var-requires": false,
"only-arrow-functions": false,
"class-name": false,
"ordered-imports": false,
"prefer-const": false
},
"jsRules": {
"object-literal-sort-keys": false, //Disable for javascript
"no-console": false,
"one-variable-per-declaration": false,
"curly": false,
"variable-name": false,
"jsdoc-format": false,
"radix": false,
"no-shadowed-variable": false,
"no-empty": false,
"no-var-requires": false,
"only-arrow-functions": false,
"class-name": false,
"ordered-imports": false,
"prefer-const": false,
"no-bitwise": false
},
"globals": {
"process": true,
"setTimeout": true,
"clearTimeout": true,
"setInterval": true,
"clearInterval": true,
"window": true,
"document": true,
"localStorage": true,
"jest": true,
"require": true,
"global": true,
"expect": true,
"it": true,
"beforeEach": true,
"describe": true,
"console": true,
"location": true
},
"linterOptions": {
"exclude": [
"public",
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
}
}