-
Notifications
You must be signed in to change notification settings - Fork 16
/
tslint.json
43 lines (43 loc) · 1.49 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"rules": {
"arrow-parens": false,
"ext-variable-name": [
true,
["class", "pascal"],
["interface", "pascal", {"regex": "^I.*$"}],
["parameter", "camel"],
["property", "static", "camel"],
["property", "private", "camel", "require-leading-underscore"],
["property", "protected", "camel", "allow-leading-underscore"],
["variable", "local", "camel"],
["variable", "const", "upper"],
["variable", "camel"],
["method", "private", "camel", "require-leading-underscore"],
["method", "protected", "camel", "allow-leading-underscore"],
["function", "camel"],
["default", "camel"]
],
"file-name-casing": [true, "camel-case"],
"indent": [true, "spaces", 2],
"interface-name": [true, "always-prefix"],
"member-ordering": false,
"no-var-requires": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"only-arrow-functions": false,
"ordered-imports": false,
"quotemark": [true, "single"],
"semicolon": [true, "always"],
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
]
},
"rulesDirectory": ["node_modules/vrsource-tslint-rules/rules"]
}