2017-02-22 13:13:21 -05:00
|
|
|
{
|
2017-08-22 15:31:15 -04:00
|
|
|
"rulesDirectory": [
|
|
|
|
"node_modules/codelyzer"
|
|
|
|
],
|
2017-02-22 13:13:21 -05:00
|
|
|
"rules": {
|
2017-08-22 15:31:15 -04:00
|
|
|
"arrow-return-shorthand": true,
|
|
|
|
"callable-types": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"class-name": true,
|
|
|
|
"comment-format": [
|
|
|
|
true,
|
|
|
|
"check-space"
|
|
|
|
],
|
|
|
|
"curly": true,
|
2017-12-30 08:38:30 -05:00
|
|
|
"deprecation": {
|
|
|
|
"severity": "warn"
|
|
|
|
},
|
2017-02-22 13:13:21 -05:00
|
|
|
"eofline": true,
|
|
|
|
"forin": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"import-blacklist": [
|
|
|
|
true,
|
2017-11-01 16:18:03 -04:00
|
|
|
"rxjs",
|
|
|
|
"rxjs/Rx"
|
2017-08-22 15:31:15 -04:00
|
|
|
],
|
|
|
|
"import-spacing": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
"spaces"
|
|
|
|
],
|
2017-08-22 15:31:15 -04:00
|
|
|
"interface-over-type-literal": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"label-position": true,
|
|
|
|
"max-line-length": [
|
|
|
|
true,
|
|
|
|
140
|
|
|
|
],
|
|
|
|
"member-access": false,
|
|
|
|
"member-ordering": [
|
|
|
|
true,
|
2017-08-22 15:31:15 -04:00
|
|
|
{
|
|
|
|
"order": [
|
|
|
|
"static-field",
|
|
|
|
"instance-field",
|
|
|
|
"static-method",
|
|
|
|
"instance-method"
|
|
|
|
]
|
|
|
|
}
|
2017-02-22 13:13:21 -05:00
|
|
|
],
|
|
|
|
"no-arg": true,
|
|
|
|
"no-bitwise": true,
|
|
|
|
"no-console": [
|
|
|
|
true,
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
],
|
|
|
|
"no-construct": true,
|
|
|
|
"no-debugger": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-duplicate-super": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-empty": false,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-empty-interface": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-eval": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-inferrable-types": [
|
|
|
|
true,
|
|
|
|
"ignore-params"
|
|
|
|
],
|
|
|
|
"no-misused-new": true,
|
|
|
|
"no-non-null-assertion": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-shadowed-variable": true,
|
|
|
|
"no-string-literal": false,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-string-throw": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-trailing-whitespace": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-unnecessary-initializer": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-unused-expression": 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"
|
|
|
|
],
|
2017-08-22 15:31:15 -04:00
|
|
|
"prefer-const": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"radix": true,
|
|
|
|
"semicolon": [
|
2017-08-22 15:31:15 -04:00
|
|
|
true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"triple-equals": [
|
|
|
|
true,
|
|
|
|
"allow-null-check"
|
|
|
|
],
|
|
|
|
"typedef-whitespace": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"call-signature": "nospace",
|
|
|
|
"index-signature": "nospace",
|
|
|
|
"parameter": "nospace",
|
|
|
|
"property-declaration": "nospace",
|
|
|
|
"variable-declaration": "nospace"
|
|
|
|
}
|
|
|
|
],
|
2017-08-22 15:31:15 -04:00
|
|
|
"typeof-compare": true,
|
|
|
|
"unified-signatures": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"variable-name": false,
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator",
|
|
|
|
"check-type"
|
2017-08-22 15:31:15 -04:00
|
|
|
],
|
|
|
|
"directive-selector": [
|
|
|
|
true,
|
|
|
|
"attribute",
|
|
|
|
"app",
|
|
|
|
"camelCase"
|
|
|
|
],
|
|
|
|
"component-selector": [
|
|
|
|
true,
|
|
|
|
"element",
|
|
|
|
"app",
|
|
|
|
"kebab-case"
|
|
|
|
],
|
2017-12-30 08:38:30 -05:00
|
|
|
"no-output-on-prefix": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"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,
|
2017-12-30 08:38:30 -05:00
|
|
|
"directive-class-suffix": true
|
2017-02-22 13:13:21 -05:00
|
|
|
}
|
|
|
|
}
|