2020-01-27 18:40:18 +00:00
|
|
|
{
|
|
|
|
|
"extends": "tslint:recommended",
|
2021-09-08 22:41:24 +00:00
|
|
|
"linterOptions": {
|
|
|
|
|
"exclude": ["projects/ng-devtools/src/lib/vendor/**"]
|
|
|
|
|
},
|
2020-01-27 18:40:18 +00:00
|
|
|
"rules": {
|
|
|
|
|
"array-type": false,
|
|
|
|
|
"arrow-parens": false,
|
|
|
|
|
"deprecation": {
|
|
|
|
|
"severity": "warning"
|
|
|
|
|
},
|
|
|
|
|
"component-class-suffix": true,
|
|
|
|
|
"contextual-lifecycle": true,
|
|
|
|
|
"directive-class-suffix": true,
|
2021-09-10 02:43:37 +00:00
|
|
|
"directive-selector": [true, "attribute", ["ng", "app"], "camelCase"],
|
|
|
|
|
"component-selector": [true, "element", ["ng", "app"], "kebab-case"],
|
2020-01-27 18:40:18 +00:00
|
|
|
"interface-name": false,
|
|
|
|
|
"max-classes-per-file": false,
|
2020-02-07 21:25:16 +00:00
|
|
|
"max-line-length": [true, 140],
|
2020-01-27 18:40:18 +00:00
|
|
|
"member-access": false,
|
|
|
|
|
"member-ordering": [
|
|
|
|
|
true,
|
|
|
|
|
{
|
2020-02-07 21:25:16 +00:00
|
|
|
"order": ["static-field", "instance-field", "static-method", "instance-method"]
|
2020-01-27 18:40:18 +00:00
|
|
|
}
|
|
|
|
|
],
|
2020-02-14 20:42:20 +00:00
|
|
|
"no-bitwise": false,
|
2020-01-27 18:40:18 +00:00
|
|
|
"no-consecutive-blank-lines": false,
|
2020-02-07 21:25:16 +00:00
|
|
|
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
|
2020-01-27 18:40:18 +00:00
|
|
|
"no-empty": false,
|
2020-02-07 21:25:16 +00:00
|
|
|
"no-inferrable-types": [true, "ignore-params"],
|
2020-01-27 18:40:18 +00:00
|
|
|
"no-non-null-assertion": true,
|
|
|
|
|
"no-redundant-jsdoc": true,
|
|
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
|
"no-var-requires": false,
|
2020-02-07 21:25:16 +00:00
|
|
|
"object-literal-key-quotes": [true, "as-needed"],
|
2020-01-27 18:40:18 +00:00
|
|
|
"object-literal-sort-keys": false,
|
|
|
|
|
"ordered-imports": false,
|
2020-02-07 21:25:16 +00:00
|
|
|
"quotemark": [true, "single"],
|
|
|
|
|
"variable-name": [true, "allow-leading-underscore"],
|
2020-01-27 18:40:18 +00:00
|
|
|
"trailing-comma": false,
|
|
|
|
|
"no-conflicting-lifecycle": true,
|
|
|
|
|
"no-host-metadata-property": true,
|
2021-06-02 03:39:24 +00:00
|
|
|
"no-input-rename": false,
|
2020-01-27 18:40:18 +00:00
|
|
|
"no-inputs-metadata-property": true,
|
|
|
|
|
"no-output-native": true,
|
|
|
|
|
"no-output-on-prefix": true,
|
2021-06-02 03:39:24 +00:00
|
|
|
"no-output-rename": false,
|
2020-01-27 18:40:18 +00:00
|
|
|
"no-outputs-metadata-property": true,
|
|
|
|
|
"template-banana-in-box": true,
|
|
|
|
|
"template-no-negated-async": true,
|
|
|
|
|
"use-lifecycle-interface": true,
|
2020-03-04 18:18:52 +00:00
|
|
|
"use-pipe-transform-interface": true,
|
2020-03-30 18:56:01 +00:00
|
|
|
"space-before-function-paren": false,
|
2020-03-04 18:18:52 +00:00
|
|
|
"typedef": [true, "parameter", "call-signature", "property-declaration"]
|
2020-01-27 18:40:18 +00:00
|
|
|
},
|
2020-02-07 21:25:16 +00:00
|
|
|
"rulesDirectory": ["node_modules/codelyzer"]
|
2020-01-27 18:40:18 +00:00
|
|
|
}
|