-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtslint.json
37 lines (37 loc) · 859 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
36
37
{
"defaultSeverity": "error",
"extends": [
"tslint:latest",
"tslint-config-prettier",
"tslint-config-airbnb"
],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"no-console": false,
"space-before-function-paren": false,
"max-classes-per-file": false,
"no-shadowed-variable": false,
"interface-name": false,
"max-line-length": [true, 150],
"no-implicit-dependencies": [true, "dev"],
"no-unused-variable": [
true,
{
"ignore-pattern": "^_"
}
],
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case"],
"ter-arrow-parens": false,
"prettier": [
true,
{
"printWidth": 150,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all"
}
]
}
}