2019-01-09 20:41:34 +00:00
|
|
|
{
|
|
|
|
"defaultSeverity": "error",
|
|
|
|
"extends": "tslint:recommended",
|
|
|
|
"jsRules": {},
|
|
|
|
"rules": {
|
|
|
|
"curly": [true, "ignore-same-line"],
|
|
|
|
"quotemark": [false, "double", "avoid-escape", "avoid-template"],
|
|
|
|
"only-arrow-functions": [false],
|
2019-01-10 20:37:16 +00:00
|
|
|
"no-var-keyword": true,
|
|
|
|
"prefer-const": [true],
|
2019-01-09 20:41:34 +00:00
|
|
|
"max-line-length": [false, {
|
|
|
|
"limit": 80
|
|
|
|
}],
|
|
|
|
"ordered-imports": false,
|
2019-01-12 15:35:07 +00:00
|
|
|
"array-type": [true, "generic"],
|
2019-01-10 20:05:15 +00:00
|
|
|
"semicolon": true,
|
2019-01-09 20:41:34 +00:00
|
|
|
"member-access": false,
|
|
|
|
"object-literal-shorthand": false,
|
|
|
|
"object-literal-key-quotes": [true, "as-needed"],
|
|
|
|
"object-literal-sort-keys": false,
|
|
|
|
"space-before-function-paren": [true, {
|
|
|
|
"anonymous": "always"
|
|
|
|
}],
|
|
|
|
"triple-equals": false,
|
|
|
|
"no-string-throw": false,
|
|
|
|
"no-empty": [true, "allow-empty-catch", "allow-empty-functions"],
|
|
|
|
"trailing-comma": false,
|
|
|
|
"member-ordering": false,
|
|
|
|
"no-string-literal": false,
|
2019-01-12 15:35:07 +00:00
|
|
|
"arrow-parens": [true, "ban-single-arg-parens"],
|
2019-01-09 20:41:34 +00:00
|
|
|
"no-console": false,
|
|
|
|
"interface-name": false,
|
|
|
|
"no-bitwise": false,
|
|
|
|
"no-shadowed-variable": false,
|
2019-01-10 20:37:16 +00:00
|
|
|
"prefer-for-of": true,
|
|
|
|
"align": true,
|
|
|
|
"arrow-return-shorthand": true,
|
2019-01-09 20:41:34 +00:00
|
|
|
"max-classes-per-file": false,
|
2019-01-10 20:37:16 +00:00
|
|
|
"variable-name": true,
|
2019-01-09 20:41:34 +00:00
|
|
|
"forin": false,
|
2019-01-10 20:37:16 +00:00
|
|
|
"one-variable-per-declaration": true,
|
2019-01-09 20:41:34 +00:00
|
|
|
"no-consecutive-blank-lines": true
|
|
|
|
},
|
|
|
|
"rulesDirectory": []
|
|
|
|
}
|