-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
83 lines (83 loc) · 1.91 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
{
"extends": ["tslint:recommended"],
"rules": {
"arrow-parens": false,
"interface-name": [true, "never-prefix"],
"jsx-boolean-value": false,
"jsx-no-multiline-js": false,
"jsx-curly-spacing": false,
"max-line-length": false,
"member-access": false,
"no-shadowed-variable": [
true,
{
"function": false
}
],
"no-var-requires": false,
"object-literal-sort-keys": false,
"quotemark": [
true,
"single",
"jsx-double",
"avoid-escape",
"avoid-template"
],
"semicolon": [true, "never", "strict-bound-class-methods"],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
]
},
"jsRules": {
"arrow-parens": false,
"max-line-length": false,
"object-literal-sort-keys": false,
"quotemark": [
true,
"single",
"jsx-double",
"avoid-escape",
"avoid-template"
],
"semicolon": [true, "never", "strict-bound-class-methods"],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"react-hooks-nesting": "error"
},
"compilerOptions": {
"module": "es2015",
"target": "es2015",
"jsx": "react",
"rootDir": "src",
"outDir": "build",
"allowSyntheticDefaultImports": true,
"noImplicitAny": true,
"sourceMap": true,
"experimentalDecorators": true,
"preserveConstEnums": true,
"allowJs": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"skipLibCheck": true,
"moduleResolution": "Node"
},
"filesGlob": [
"typings/index.d.ts",
"src/**/*.ts",
"src/src/**/*.tsx",
"node_modules/typescript/lib/lib.es6.d.ts"
],
"types": ["react", "react-dom", "react-native"],
"exclude": ["build", "node_modules", "jest.config.js", "App.js"],
"compileOnSave": false
}