2017-09-08 21:25:16 +03:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"class-name": true,
|
|
|
|
"comment-format": [true,
|
|
|
|
"check-space"
|
|
|
|
],
|
|
|
|
"indent": [true,
|
|
|
|
"spaces"
|
|
|
|
],
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
],
|
2018-11-13 00:46:57 +03:00
|
|
|
"jsdoc-format": true,
|
|
|
|
"max-classes-per-file": [true, 1],
|
2017-09-08 21:25:16 +03:00
|
|
|
"no-inferrable-types": [true],
|
2018-11-13 00:46:57 +03:00
|
|
|
"no-internal-module": true,
|
2017-09-08 21:25:16 +03:00
|
|
|
"no-null-keyword": true,
|
2018-11-13 00:46:57 +03:00
|
|
|
"no-return-await": true,
|
2017-09-08 21:25:16 +03:00
|
|
|
"no-switch-case-fall-through": true,
|
2018-11-13 00:46:57 +03:00
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"prefer-const": true,
|
|
|
|
"triple-equals": true
|
2017-09-08 21:25:16 +03:00
|
|
|
}
|
|
|
|
}
|