angular-cn/modules/@angular/router/tslint.json

61 lines
1.4 KiB
JSON
Raw Normal View History

2016-06-07 12:50:35 -04:00
{
"rulesDirectory": ["node_modules/codelyzer"],
"rules": {
"no-inferrable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-duplicate-variable": true,
"no-eval": true,
"no-arg": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-bitwise": true,
2016-06-08 14:13:41 -04:00
"no-shadowed-variable": false,
2016-06-07 12:50:35 -04:00
"no-unused-expression": true,
"no-unused-variable": true,
"one-line": [
true,
"check-catch",
"check-else",
"check-open-brace",
"check-whitespace"
],
"semicolon": [true, "always"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
2016-06-08 14:13:41 -04:00
"curly": false,
2016-06-07 12:50:35 -04:00
"variable-name": [
true,
"ban-keywords",
"check-format",
2016-06-08 14:13:41 -04:00
"allow-leading-underscore"
2016-06-07 12:50:35 -04:00
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"component-selector-name": [true, "kebab-case"],
"component-selector-type": [true, "element"],
"input-property-directive": true,
"output-property-directive": true
}
}