|
{ |
|
"extends": ["tslint:recommended", "tslint-plugin-prettier", "tslint-config-prettier"], |
|
"rules": { |
|
"array-type": false, |
|
"deprecation": { |
|
"severity": "warning" |
|
}, |
|
"component-class-suffix": [true, "Page", "Component"], |
|
"contextual-lifecycle": true, |
|
"directive-class-suffix": true, |
|
"directive-selector": [true, "attribute", "app", "camelCase"], |
|
"component-selector": [true, "element", "app", "kebab-case"], |
|
"import-blacklist": [true, "rxjs/Rx"], |
|
"max-classes-per-file": false, |
|
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"], |
|
"no-empty": false, |
|
"no-inferrable-types": [true, "ignore-params"], |
|
"no-non-null-assertion": true, |
|
"no-redundant-jsdoc": true, |
|
"no-switch-case-fall-through": true, |
|
"no-var-requires": false, |
|
"object-literal-key-quotes": [true, "as-needed"], |
|
"variable-name": { |
|
"options": ["ban-keywords", "check-format", "allow-pascal-case"] |
|
}, |
|
"whitespace": { |
|
"options": [ |
|
"check-branch", |
|
"check-decl", |
|
"check-operator", |
|
"check-separator", |
|
"check-type", |
|
"check-typecast" |
|
] |
|
}, |
|
"no-conflicting-lifecycle": true, |
|
"no-host-metadata-property": true, |
|
"no-input-rename": true, |
|
"no-inputs-metadata-property": true, |
|
"no-output-native": true, |
|
"no-output-on-prefix": true, |
|
"no-output-rename": true, |
|
"no-outputs-metadata-property": true, |
|
"template-banana-in-box": true, |
|
"template-no-negated-async": true, |
|
"use-lifecycle-interface": true, |
|
"use-pipe-transform-interface": true, |
|
"object-literal-sort-keys": false |
|
}, |
|
"rulesDirectory": ["codelyzer"] |
|
} |