178 lines
4.6 KiB
JSON
178 lines
4.6 KiB
JSON
{
|
|
"rulesDirectory": [
|
|
"node_modules/codelyzer"
|
|
],
|
|
"rules": {
|
|
"directive-selector-name": [
|
|
true,
|
|
"camelCase"
|
|
],
|
|
"component-selector-name": [
|
|
true,
|
|
"kebab-case"
|
|
],
|
|
"directive-selector-type": [
|
|
true,
|
|
"attribute"
|
|
],
|
|
"component-selector-type": [
|
|
true,
|
|
"element"
|
|
],
|
|
"directive-selector-prefix": [
|
|
true,
|
|
"appd"
|
|
],
|
|
"component-selector-prefix": [
|
|
true,
|
|
"appc"
|
|
],
|
|
"use-input-property-decorator": true,
|
|
"use-output-property-decorator": true,
|
|
"use-host-property-decorator": true,
|
|
"no-attribute-parameter-decorator": true,
|
|
"no-input-rename": true,
|
|
"no-output-rename": true,
|
|
"no-forward-ref": true,
|
|
"use-life-cycle-interface": true,
|
|
"use-pipe-transform-interface": true,
|
|
"pipe-naming": [
|
|
true,
|
|
"camelCase",
|
|
"appf"
|
|
],
|
|
"component-class-suffix": true,
|
|
"directive-class-suffix": true,
|
|
"import-destructuring-spacing": true,
|
|
"member-access": false,
|
|
"member-ordering": [
|
|
true,
|
|
"public-before-private",
|
|
"static-before-instance",
|
|
"variables-before-functions"
|
|
],
|
|
"no-any": false,
|
|
"no-inferrable-types": false,
|
|
"no-internal-module": true,
|
|
"no-var-requires": false,
|
|
"typedef": false,
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
},
|
|
{
|
|
"call-signature": "space",
|
|
"index-signature": "space",
|
|
"parameter": "space",
|
|
"property-declaration": "space",
|
|
"variable-declaration": "space"
|
|
}
|
|
],
|
|
"ban": false,
|
|
"curly": false,
|
|
"forin": true,
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-conditional-assignment": true,
|
|
"no-console": [
|
|
true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": false,
|
|
"no-eval": true,
|
|
"no-null-keyword": true,
|
|
"no-shadowed-variable": true,
|
|
"no-string-literal": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-unreachable": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": false,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"radix": true,
|
|
"switch-default": true,
|
|
"triple-equals": [
|
|
true,
|
|
"allow-null-check"
|
|
],
|
|
"use-strict": [
|
|
true,
|
|
"check-module"
|
|
],
|
|
"eofline": true,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"max-line-length": [
|
|
true,
|
|
200
|
|
],
|
|
"no-require-imports": false,
|
|
"no-trailing-whitespace": true,
|
|
"object-literal-sort-keys": false,
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"align": false,
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"interface-name": false,
|
|
"jsdoc-format": true,
|
|
"no-consecutive-blank-lines": false,
|
|
"no-constructor-vars": false,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-finally",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"semicolon": [
|
|
true,
|
|
"always"
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"ban-keywords"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
} |