forked from the-programmers-hangout/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
35 lines (33 loc) · 836 Bytes
/
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
{
"defaultSeverity": "error",
"extends": [
"tslint:latest",
"tslint-config-prettier",
"tslint-eslint-rules",
"tslint-react-hooks"
],
"linterOptions": {
"exclude": ["node_modules"]
},
"rules": {
"no-constant-condition": true,
"no-console": false,
"interface-name": [true, "always-prefix"],
"object-curly-spacing": true,
"object-literal-sort-keys": false,
"member-access": [true, "no-public"],
"no-var-keyword": true,
"typedef": [
true,
"parameter",
"property-declaration",
"member-variable-declaration"
],
"no-eval": true,
"no-parameter-reassignment": true,
"no-submodule-imports": false,
"no-unused-variable": true,
"react-hooks-nesting": "error"
},
"rulesDirectory": ["node_modules/tslint-eslint-rules/dist/rules"]
}