зеркало из https://github.com/Azure/ms-rest-js.git
63 строки
1.7 KiB
JSON
63 строки
1.7 KiB
JSON
{
|
|
"extends": [
|
|
"tslint-eslint-rules"
|
|
],
|
|
"rules": {
|
|
"class-name": true,
|
|
"comment-format": [true, "check-space"],
|
|
"indent": [true, "spaces"],
|
|
"ter-indent": [
|
|
true,
|
|
2,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"linebreak-style": [true, "LF"],
|
|
"one-line": [true,
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"no-var-keyword": true,
|
|
"quotemark": [true,
|
|
"double",
|
|
"avoid-escape"
|
|
],
|
|
"semicolon": [true, "always", "ignore-bound-class-methods"],
|
|
"whitespace": [true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-type"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
},
|
|
{
|
|
"call-signature": "onespace",
|
|
"index-signature": "onespace",
|
|
"parameter": "onespace",
|
|
"property-declaration": "onespace",
|
|
"variable-declaration": "onespace"
|
|
}
|
|
],
|
|
"jsdoc-format": true,
|
|
"no-inferrable-types": [true],
|
|
"no-internal-module": true,
|
|
"no-null-keyword": true,
|
|
"no-return-await": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"prefer-const": true,
|
|
"triple-equals": [true, "allow-undefined-check"]
|
|
}
|
|
}
|