/
tslint.json
49 lines (49 loc) · 1.12 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
{
"rulesDirectory": [
"tslint-plugin-prettier",
"dtslint/bin/rules/expectRule.js"
],
"extends": [
"tslint-config-airbnb",
"tslint-config-prettier"
],
"rules": {
"expect": true,
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[A-Z_\\d]+$",
"function-regex": "^[a-zA-Z][\\w\\d]+$"
}
],
"import-name": false,
"member-access": true,
"no-boolean-literal-compare": false,
"no-console": false,
"no-debugger": true,
"no-empty-interface": true,
"no-internal-module": true,
"no-unused-variable": false,
"object-shorthand-properties-first": false,
"prefer-for-of": true,
"prettier": [
true,
{
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"printWidth": 90
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-trailing-underscore"
]
}
}