175 lines
4.2 KiB
JSON
175 lines
4.2 KiB
JSON
{
|
|
"rulesDirectory": [
|
|
"node_modules/codelyzer"
|
|
],
|
|
"rules": {
|
|
"directive-selector": [
|
|
true,
|
|
"attribute",
|
|
"",
|
|
"camelCase"
|
|
],
|
|
"component-selector": [
|
|
true,
|
|
"element",
|
|
"",
|
|
"kebab-case"
|
|
],
|
|
"use-input-property-decorator": true,
|
|
"use-output-property-decorator": true,
|
|
"use-host-property-decorator": false,
|
|
"no-attribute-parameter-decorator": false,
|
|
"no-input-rename": false,
|
|
"no-output-rename": false,
|
|
"no-forward-ref": false,
|
|
"use-life-cycle-interface": true,
|
|
"use-pipe-transform-interface": true,
|
|
"pipe-naming": [
|
|
true,
|
|
"camelCase",
|
|
""
|
|
],
|
|
"component-class-suffix": true,
|
|
"directive-class-suffix": true,
|
|
"import-destructuring-spacing": true,
|
|
"member-ordering": [
|
|
true,
|
|
"public-before-private",
|
|
"static-before-instance",
|
|
"variables-before-functions"
|
|
],
|
|
"no-any": false,
|
|
"no-reference": true,
|
|
"no-var-requires": true,
|
|
"typedef": [
|
|
true,
|
|
"call-signature",
|
|
"parameter",
|
|
"property-declaration",
|
|
"variable-declaration"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"curly": true,
|
|
"label-position": true,
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-conditional-assignment": true,
|
|
"no-console": [
|
|
true,
|
|
"debug",
|
|
"info",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-shadowed-variable": false,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": true,
|
|
"no-unsafe-finally": true,
|
|
"no-unused-expression": true,
|
|
"no-var-keyword": true,
|
|
"radix": true,
|
|
"switch-default": true,
|
|
"triple-equals": [
|
|
true,
|
|
"allow-null-check"
|
|
],
|
|
"use-isnan": true,
|
|
"eofline": true,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"linebreak-style": [
|
|
false,
|
|
"CRLF",
|
|
"LF"
|
|
],
|
|
"max-line-length": [
|
|
true,
|
|
500
|
|
],
|
|
"no-default-export": true,
|
|
"no-trailing-whitespace": false,
|
|
"object-literal-sort-keys": false,
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"interface-name": [
|
|
true,
|
|
"always-prefix"
|
|
],
|
|
"jsdoc-format": true,
|
|
"new-parens": true,
|
|
"no-consecutive-blank-lines": [true],
|
|
"object-literal-key-quotes": [
|
|
false,
|
|
"as-needed"
|
|
],
|
|
"object-literal-shorthand": false,
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-finally",
|
|
"check-else",
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"ordered-imports": [false],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"semicolon": [
|
|
true,
|
|
"always"
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"allow-trailing-underscore",
|
|
"allow-pascal-case",
|
|
"allow-snake-case",
|
|
"ban-keywords"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|