forked from Zizzamia/perfume.js
/
tslint.json
44 lines (44 loc) · 1.17 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
{
"extends": ["tslint:recommended", "tslint-config-airbnb", "tslint-config-prettier"],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"arrow-parens": false,
"array-type": [true, "array-simple"],
"class-name": false,
"function-name": [
true,
{
"method-regex": "^_?[a-z][\\w\\d]+$",
"function-regex": "^[a-zA-Z][\\w\\d]+$",
"static-method-regex": "^[a-zA-Z_\\d]+$"
}
],
"import-name": false,
"max-classes-per-file": false,
"member-access": [true, "no-public"],
"member-ordering": [
true,
{
"order": "statics-first"
}
],
"no-else-after-return": [true, "allow-else-if"],
"no-empty": false,
"no-console": false,
"no-namespace": false,
"no-string-literal": false,
"no-unused-expression": [true, "allow-fast-null-checks"],
"object-literal-sort-keys": false,
"object-shorthand-properties-first": false,
"ordered-imports": [true],
"prefer-array-literal": false,
"prettier": true,
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"allow-pascal-case"
]
}
}