2017-01-27 03:20:51 -05:00
|
|
|
{
|
2019-04-24 08:27:24 -04:00
|
|
|
"extends": "tslint:recommended",
|
2017-01-27 03:20:51 -05:00
|
|
|
"rulesDirectory": [
|
2019-04-24 08:27:24 -04:00
|
|
|
"codelyzer"
|
2017-01-27 03:20:51 -05:00
|
|
|
],
|
|
|
|
"rules": {
|
2019-04-24 08:27:24 -04:00
|
|
|
"array-type": false,
|
|
|
|
"arrow-parens": false,
|
|
|
|
"component-class-suffix": true,
|
|
|
|
"component-selector": [
|
2017-01-27 03:20:51 -05:00
|
|
|
true,
|
2019-04-24 08:27:24 -04:00
|
|
|
"element",
|
|
|
|
"aio",
|
|
|
|
"kebab-case"
|
2017-01-27 03:20:51 -05:00
|
|
|
],
|
2019-04-24 08:27:24 -04:00
|
|
|
"contextual-lifecycle": true,
|
2018-04-14 03:44:09 -04:00
|
|
|
"deprecation": {
|
|
|
|
"severity": "warn"
|
|
|
|
},
|
2019-04-24 08:27:24 -04:00
|
|
|
"directive-class-suffix": true,
|
|
|
|
"directive-selector": [
|
|
|
|
true,
|
|
|
|
"attribute",
|
|
|
|
"aio",
|
|
|
|
"camelCase"
|
|
|
|
],
|
|
|
|
"import-blacklist": [
|
2017-01-27 03:20:51 -05:00
|
|
|
true,
|
2019-04-24 08:27:24 -04:00
|
|
|
"rxjs/Rx"
|
2017-01-27 03:20:51 -05:00
|
|
|
],
|
2019-04-24 08:27:24 -04:00
|
|
|
"interface-name": false,
|
|
|
|
"max-classes-per-file": false,
|
2017-01-27 03:20:51 -05:00
|
|
|
"max-line-length": [
|
|
|
|
true,
|
|
|
|
140
|
|
|
|
],
|
|
|
|
"member-access": false,
|
|
|
|
"member-ordering": [
|
|
|
|
true,
|
2019-04-24 08:27:24 -04:00
|
|
|
{
|
|
|
|
"order": [
|
|
|
|
"static-field",
|
|
|
|
"instance-field",
|
|
|
|
"static-method",
|
|
|
|
"instance-method"
|
|
|
|
]
|
|
|
|
}
|
2017-01-27 03:20:51 -05:00
|
|
|
],
|
2019-04-24 08:27:24 -04:00
|
|
|
"no-conflicting-lifecycle": true,
|
|
|
|
"no-consecutive-blank-lines": false,
|
2017-01-27 03:20:51 -05:00
|
|
|
"no-console": [
|
|
|
|
true,
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
],
|
|
|
|
"no-empty": false,
|
2019-04-24 08:27:24 -04:00
|
|
|
"no-host-metadata-property": true,
|
|
|
|
"no-inferrable-types": [
|
|
|
|
true,
|
|
|
|
"ignore-params"
|
|
|
|
],
|
|
|
|
"no-input-rename": true,
|
|
|
|
"no-inputs-metadata-property": true,
|
2017-04-01 14:32:48 -04:00
|
|
|
"no-jasmine-focus": true,
|
2019-04-24 08:27:24 -04:00
|
|
|
"no-output-native": true,
|
|
|
|
"no-output-on-prefix": true,
|
|
|
|
"no-output-rename": true,
|
|
|
|
"no-outputs-metadata-property": true,
|
2017-01-27 03:20:51 -05:00
|
|
|
"no-string-literal": false,
|
|
|
|
"no-switch-case-fall-through": true,
|
2019-04-24 08:27:24 -04:00
|
|
|
"no-var-requires": false,
|
|
|
|
"object-literal-key-quotes": false,
|
2017-01-27 03:20:51 -05:00
|
|
|
"object-literal-sort-keys": false,
|
2019-04-24 08:27:24 -04:00
|
|
|
"only-arrow-functions": false,
|
|
|
|
"ordered-imports": false,
|
2017-01-27 03:20:51 -05:00
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single"
|
|
|
|
],
|
2019-04-24 08:27:24 -04:00
|
|
|
"template-banana-in-box": true,
|
|
|
|
"template-no-negated-async": true,
|
|
|
|
"trailing-comma": false,
|
|
|
|
"use-lifecycle-interface": true,
|
2017-01-27 03:20:51 -05:00
|
|
|
"use-pipe-transform-interface": true,
|
2019-04-24 08:27:24 -04:00
|
|
|
"variable-name": [
|
|
|
|
true,
|
|
|
|
"allow-leading-underscore",
|
|
|
|
"allow-pascal-case",
|
|
|
|
"ban-keywords",
|
|
|
|
"check-format",
|
|
|
|
"require-const-for-all-caps"
|
|
|
|
]
|
2017-01-27 03:20:51 -05:00
|
|
|
}
|
|
|
|
}
|