-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
30 lines (30 loc) · 884 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
{
"extends": "tslint:recommended",
"parser": "@typescript-eslint/parser",
"rules": {
"quotes": [
"error", "single"
],
"quotemark": [true, "single"],
"no-console": true,
"no-empty": [true, "allow-empty-catch"],
"no-shadowed-variable": false,
"trailing-comma": [true, {
"singleline": "never",
"multiline": {
"objects": "never",
"arrays": "never",
"functions": "never",
"typeLiterals": "ignore"
}
}],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"no-default-export": false,
"curly": ["error", "multi"],
"dot-location": [2, "property"],
"eqeqeq": [2, "always", {"null": "ignore"}],
"handle-callback-err": [2, "^(err|error)$"],
"indent": [2, 2, {"SwitchCase": 1}],
"space-before-function-paren": ["error", "always"]
}
}