-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
23 lines (23 loc) · 939 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
{
"rulesDirectory": [
"node_modules/vrsource-tslint-rules/rules",
"node_modules/tslint-eslint-rules/dist/rules"
],
"rules": {
"no-duplicate-imports": true,
"no-duplicate-variable": [true, "check-parameters"],
"no-jasmine-focus": true,
"no-var-keyword": true,
"semicolon": [true],
"variable-name": [true, "ban-keywords", "check-format"],
"no-inner-declarations": [true, "function"],
"space-before-function-paren": [true, {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"arrow-return-shorthand": [true, "multiline"],
"no-consecutive-blank-lines": [true, 2],
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"no-magic-numbers": true,
"no-trailing-whitespace": [true, "ignore-jsdoc", "ignore-comments", "ignore-template-strings", "ignore-blank-lines"],
"indent": [true, "spaces", 2],
"quotemark": [true, "single"]
}
}