2015-12-08 19:28:32 -08:00
|
|
|
{
|
2016-12-31 17:55:55 +01:00
|
|
|
"extends": [
|
|
|
|
|
"tslint:recommended"
|
|
|
|
|
],
|
2018-02-26 16:18:10 +01:00
|
|
|
"linterOptions": {
|
|
|
|
|
"exclude": [
|
|
|
|
|
"src/*.d.ts"
|
|
|
|
|
]
|
|
|
|
|
},
|
2016-06-10 01:56:41 +02:00
|
|
|
"rulesDirectory": [
|
2018-07-09 22:37:04 +02:00
|
|
|
"node_modules/codelyzer",
|
|
|
|
|
"node_modules/rxjs-tslint"
|
2016-06-10 01:56:41 +02:00
|
|
|
],
|
2015-12-08 19:28:32 -08:00
|
|
|
"rules": {
|
2016-12-31 17:55:55 +01:00
|
|
|
"trailing-comma": [false, {"multiline": "always", "singleline": "never"}],
|
|
|
|
|
"interface-name": [false, "always-prefix"],
|
|
|
|
|
"component-class-suffix": true,
|
|
|
|
|
// "component-selector": [true, "element", "my", "kebab-case"],
|
|
|
|
|
"directive-class-suffix": true,
|
|
|
|
|
// "directive-selector": [true, "attribute", "my", "camelCase"],
|
|
|
|
|
"import-destructuring-spacing": true,
|
|
|
|
|
"no-attribute-parameter-decorator": true,
|
|
|
|
|
"no-forward-ref": true,
|
|
|
|
|
"no-input-rename": true,
|
|
|
|
|
"no-output-rename": true,
|
2017-09-02 02:01:28 -07:00
|
|
|
"only-arrow-functions": false,
|
2016-12-31 17:55:55 +01:00
|
|
|
"pipe-naming": [true, "camelCase", "my"],
|
|
|
|
|
"use-host-property-decorator": true,
|
|
|
|
|
"use-input-property-decorator": true,
|
|
|
|
|
"use-life-cycle-interface": true,
|
|
|
|
|
"use-output-property-decorator": true,
|
|
|
|
|
"use-pipe-transform-interface": true,
|
|
|
|
|
"no-console": [true,
|
2016-04-15 04:59:38 +02:00
|
|
|
"time",
|
|
|
|
|
"timeEnd",
|
|
|
|
|
"trace"
|
|
|
|
|
],
|
|
|
|
|
"max-line-length": [
|
|
|
|
|
true,
|
|
|
|
|
100
|
|
|
|
|
],
|
2016-12-31 17:55:55 +01:00
|
|
|
"no-string-literal": false,
|
|
|
|
|
"no-use-before-declare": true,
|
2016-04-15 04:59:38 +02:00
|
|
|
"object-literal-sort-keys": false,
|
2016-12-31 17:55:55 +01:00
|
|
|
"ordered-imports": false,
|
2015-12-08 19:28:32 -08:00
|
|
|
"quotemark": [
|
|
|
|
|
true,
|
2016-04-15 04:59:38 +02:00
|
|
|
"single",
|
|
|
|
|
"avoid-escape"
|
2015-12-08 19:28:32 -08:00
|
|
|
],
|
2016-04-15 04:59:38 +02:00
|
|
|
"variable-name": [
|
2015-12-08 19:28:32 -08:00
|
|
|
true,
|
2016-04-15 04:59:38 +02:00
|
|
|
"allow-leading-underscore",
|
2016-12-31 17:55:55 +01:00
|
|
|
"allow-pascal-case",
|
|
|
|
|
"ban-keywords",
|
|
|
|
|
"check-format"
|
2018-07-09 22:37:04 +02:00
|
|
|
],
|
|
|
|
|
"rxjs-collapse-imports": true,
|
|
|
|
|
"rxjs-pipeable-operators-only": true,
|
|
|
|
|
"rxjs-no-static-observable-methods": true,
|
|
|
|
|
"rxjs-proper-imports": true
|
2015-12-08 19:28:32 -08:00
|
|
|
}
|
2017-09-02 02:01:28 -07:00
|
|
|
}
|