-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
32 lines (32 loc) · 998 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-airbnb",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"jsRules": {},
"rules": {
"import-name": [true, {
"htmlWebpackPlugin": "HtmlWebpackPlugin",
"cleanWebpackPlugin": "CleanWebpackPlugin",
"react": "React"
}],
"prettier": [true, { "trailingComma": "all"}],
"interface-name": [false],
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"],
"jsx-boolean-value": "always",
"no-unused-expression": true,
"no-unused-variable": true,
"object-literal-sort-keys": [true, "shorthand-first"],
"member-ordering": false,
"array-type": [true, "array-simple"],
"prefer-array-literal": [true, { "allow-type-parameters": true } ],
"no-console": true,
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}]
},
"rulesDirectory": []
}