2017-02-22 13:13:21 -05:00
|
|
|
{
|
2019-05-09 16:56:24 -04:00
|
|
|
"extends": "tslint:recommended",
|
2017-02-22 13:13:21 -05:00
|
|
|
"rules": {
|
2019-05-09 16:56:24 -04:00
|
|
|
"array-type": false,
|
|
|
|
"arrow-parens": false,
|
2017-12-30 08:38:30 -05:00
|
|
|
"deprecation": {
|
|
|
|
"severity": "warn"
|
|
|
|
},
|
2019-05-09 16:56:24 -04:00
|
|
|
"component-class-suffix": true,
|
|
|
|
"contextual-lifecycle": true,
|
|
|
|
"directive-class-suffix": true,
|
|
|
|
"directive-selector": [
|
2017-08-22 15:31:15 -04:00
|
|
|
true,
|
2019-05-09 16:56:24 -04:00
|
|
|
"attribute",
|
|
|
|
"app",
|
|
|
|
"camelCase"
|
2017-08-22 15:31:15 -04:00
|
|
|
],
|
2019-05-09 16:56:24 -04:00
|
|
|
"component-selector": [
|
2017-02-22 13:13:21 -05:00
|
|
|
true,
|
2019-05-09 16:56:24 -04:00
|
|
|
"element",
|
|
|
|
"app",
|
|
|
|
"kebab-case"
|
2017-02-22 13:13:21 -05:00
|
|
|
],
|
2019-05-09 16:56:24 -04:00
|
|
|
"import-blacklist": [
|
|
|
|
true,
|
|
|
|
"rxjs/Rx"
|
|
|
|
],
|
|
|
|
"interface-name": false,
|
|
|
|
"max-classes-per-file": false,
|
2017-02-22 13:13:21 -05:00
|
|
|
"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
|
|
|
],
|
2019-05-09 16:56:24 -04:00
|
|
|
"no-consecutive-blank-lines": false,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-console": [
|
|
|
|
true,
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
],
|
|
|
|
"no-empty": false,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-inferrable-types": [
|
|
|
|
true,
|
|
|
|
"ignore-params"
|
|
|
|
],
|
|
|
|
"no-non-null-assertion": true,
|
2018-09-07 08:39:58 -04:00
|
|
|
"no-redundant-jsdoc": true,
|
2017-02-22 13:13:21 -05:00
|
|
|
"no-switch-case-fall-through": true,
|
2019-05-09 16:56:24 -04:00
|
|
|
"no-use-before-declare": true,
|
|
|
|
"no-var-requires": false,
|
|
|
|
"object-literal-key-quotes": [
|
2017-02-22 13:13:21 -05:00
|
|
|
true,
|
2019-05-09 16:56:24 -04:00
|
|
|
"as-needed"
|
2017-02-22 13:13:21 -05:00
|
|
|
],
|
2019-05-09 16:56:24 -04:00
|
|
|
"object-literal-sort-keys": false,
|
|
|
|
"ordered-imports": false,
|
2017-02-22 13:13:21 -05:00
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single"
|
|
|
|
],
|
2019-05-09 16:56:24 -04:00
|
|
|
"trailing-comma": false,
|
|
|
|
"no-conflicting-lifecycle": true,
|
|
|
|
"no-host-metadata-property": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-input-rename": true,
|
2019-05-09 16:56:24 -04:00
|
|
|
"no-inputs-metadata-property": true,
|
|
|
|
"no-output-native": true,
|
|
|
|
"no-output-on-prefix": true,
|
2017-08-22 15:31:15 -04:00
|
|
|
"no-output-rename": true,
|
2019-05-09 16:56:24 -04:00
|
|
|
"no-outputs-metadata-property": true,
|
|
|
|
"template-banana-in-box": true,
|
|
|
|
"template-no-negated-async": true,
|
|
|
|
"use-lifecycle-interface": true,
|
|
|
|
"use-pipe-transform-interface": true
|
|
|
|
},
|
|
|
|
"rulesDirectory": [
|
|
|
|
"codelyzer"
|
|
|
|
]
|
|
|
|
}
|