72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"rulesDirectory": ["node_modules/codelyzer"],
|
|
"rules": {
|
|
"max-line-length": [true, 100],
|
|
"no-inferrable-types": true,
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"eofline": true,
|
|
"no-duplicate-variable": true,
|
|
"no-eval": true,
|
|
"no-arg": true,
|
|
"no-internal-module": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-bitwise": true,
|
|
"no-shadowed-variable": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": true,
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-else",
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"semicolon": [true, "always"],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"curly": true,
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-trailing-underscore"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
],
|
|
"component-selector-name": [true, "kebab-case"],
|
|
"component-selector-type": [true, "element"],
|
|
"host-parameter-decorator": true,
|
|
"input-parameter-decorator": true,
|
|
"output-parameter-decorator": true,
|
|
"attribute-parameter-decorator": true,
|
|
"input-property-directive": true,
|
|
"output-property-directive": true
|
|
}
|
|
} |