-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
24 lines (24 loc) · 818 Bytes
/
tslint.json
File metadata and controls
24 lines (24 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"defaultSeverity": "error",
"extends": ["tslint-react", "tslint-config-prettier", "tslint-config-airbnb"],
"jsRules": {},
"rules": {
"max-line-length": false,
"function-name": [
true,
{
"function-regex": "^[\\w\\d]+$",
"static-method-regex": "^[\\w\\d]+$"
}
],
"quotemark": [true, "single", "jsx-double"],
"import-name": false, // import 할 때 file 이름과 변수 이름을 통일하라는 rule
"jsx-boolean-value": [true, "never"],
"jsx-no-lambda": false,
"no-boolean-literal-compare": true,
"no-unused-variable": false, // TS2.9부터 deprecated
"ordered-imports": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"]
},
"rulesDirectory": []
}