61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"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,
|
|
"no-shadowed-variable": false,
|
|
"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"
|
|
}
|
|
],
|
|
"curly": false,
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore"
|
|
],
|
|
"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
|
|
}
|
|
} |