2017-02-24 10:54:50 +01:00
|
|
|
{
|
2018-05-14 14:01:00 +02:00
|
|
|
"rulesDirectory": ["node_modules/codelyzer"],
|
2017-02-24 10:54:50 +01:00
|
|
|
"rules": {
|
|
|
|
"class-name": true,
|
2018-05-14 14:01:00 +02:00
|
|
|
"comment-format": [true, "check-space"],
|
2017-02-24 10:54:50 +01:00
|
|
|
"curly": true,
|
2018-05-14 14:01:00 +02:00
|
|
|
"eofline": true,
|
|
|
|
"forin": true,
|
|
|
|
"indent": [true, "spaces"],
|
2017-02-24 10:54:50 +01:00
|
|
|
"label-position": true,
|
2018-05-14 14:01:00 +02:00
|
|
|
"max-line-length": [true, 140],
|
2017-02-24 10:54:50 +01:00
|
|
|
"member-access": false,
|
|
|
|
"member-ordering": [
|
|
|
|
true,
|
2017-12-25 03:33:52 +01:00
|
|
|
{
|
2018-05-14 14:01:00 +02:00
|
|
|
"order": [true, "static-before-instance", "variables-before-functions"]
|
2017-12-25 03:33:52 +01:00
|
|
|
}
|
2017-02-24 10:54:50 +01:00
|
|
|
],
|
|
|
|
"no-arg": true,
|
|
|
|
"no-bitwise": true,
|
2018-05-14 14:01:00 +02:00
|
|
|
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
|
2017-02-24 10:54:50 +01:00
|
|
|
"no-construct": true,
|
|
|
|
"no-debugger": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": false,
|
|
|
|
"no-eval": true,
|
|
|
|
"no-shadowed-variable": true,
|
|
|
|
"no-string-literal": false,
|
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-unused-expression": true,
|
|
|
|
"no-unused-variable": true,
|
|
|
|
"no-use-before-declare": true,
|
|
|
|
"no-var-keyword": true,
|
|
|
|
"object-literal-sort-keys": false,
|
|
|
|
"one-line": [
|
|
|
|
true,
|
|
|
|
"check-open-brace",
|
|
|
|
"check-catch",
|
|
|
|
"check-else",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
|
|
|
"radix": true,
|
2018-05-14 14:01:00 +02:00
|
|
|
"semicolon": true,
|
|
|
|
"triple-equals": [true, "allow-null-check"],
|
2017-02-24 10:54:50 +01:00
|
|
|
"typedef-whitespace": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"call-signature": "nospace",
|
|
|
|
"index-signature": "nospace",
|
|
|
|
"parameter": "nospace",
|
|
|
|
"property-declaration": "nospace",
|
|
|
|
"variable-declaration": "nospace"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variable-name": false,
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator",
|
|
|
|
"check-type"
|
|
|
|
],
|
|
|
|
|
|
|
|
"use-input-property-decorator": true,
|
|
|
|
"use-output-property-decorator": true,
|
|
|
|
"use-host-property-decorator": true,
|
|
|
|
"no-input-rename": true,
|
|
|
|
"no-output-rename": true,
|
|
|
|
"use-life-cycle-interface": true,
|
|
|
|
"use-pipe-transform-interface": true,
|
|
|
|
"component-class-suffix": true,
|
2018-09-07 14:55:24 +02:00
|
|
|
"directive-class-suffix": true
|
2017-02-24 10:54:50 +01:00
|
|
|
}
|
|
|
|
}
|