Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "extends": ["tslint:latest", "tslint-config-prettier"],
- "rulesDirectory": ["codelyzer", "rxjs-tslint"],
- "rules": {
- "member-access": [true, "no-public"],
- "member-ordering": [
- true,
- {
- "order": ["static-field", "instance-field", "static-method", "instance-method"]
- }
- ],
- "no-inferrable-types": [true, "ignore-params", "ignore-properties"],
- "no-unnecessary-type-assertion": true,
- "typedef": [true, "call-signature", "parameter", "member-variable-declaration", "property-declaration"],
- "import-blacklist": [true, "rxjs/Rx"],
- "no-inferred-empty-object-type": true,
- "no-invalid-this": true,
- "no-null-keyword": true,
- "no-switch-case-fall-through": true,
- "no-unnecessary-class": [true, "allow-empty-class", "allow-static-only"],
- "restrict-plus-operands": true,
- "triple-equals": [true, "allow-undefined-check"],
- "unnecessary-constructor": true,
- "deprecation": {
- "severity": "warning"
- },
- "max-file-line-count": [true, 300],
- "no-default-export": true,
- "no-default-import": true,
- "object-literal-sort-keys": false,
- "prefer-readonly": true,
- "binary-expression-operand-order": true,
- "encoding": true,
- "file-name-casing": [true, "kebab-case"],
- "increment-decrement": [true, "allow-post"],
- "interface-name": [true, "never-prefix"],
- "ordered-imports": [
- true,
- {
- "import-sources-order": "case-insensitive",
- "grouped-imports": true,
- "named-imports-order": "case-insensitive",
- "module-source-path": "full"
- }
- ],
- "prefer-template": true,
- "switch-final-break": [true, "always"],
- "variable-name": [true, "ban-keywords", "check-format"],
- "no-submodule-imports": [true, "rxjs", "primeng", "@angular/core", "@angular/platform-browser", "@angular/common", "@angular/cdk"],
- "banana-in-box": true,
- "contextual-life-cycle": true,
- "decorator-not-allowed": true,
- "pipe-impure": true,
- "templates-no-negated-async": true,
- "max-inline-declarations": true,
- "no-attribute-parameter-decorator": true,
- "no-conflicting-life-cycle-hooks": true,
- "no-forward-ref": true,
- "no-input-prefix": true,
- "no-input-rename": true,
- "no-life-cycle-call": true,
- "no-output-named-after-standard-event": true,
- "no-output-on-prefix": true,
- "no-output-rename": true,
- "no-template-call-expression": true,
- "no-unused-css": true,
- "prefer-output-readonly": true,
- "template-conditional-complexity": true,
- "trackBy-function": true,
- "use-life-cycle-interface": true,
- "use-pipe-decorator": true,
- "use-pipe-transform-interface": true,
- "use-view-encapsulation": true,
- "component-class-suffix": true,
- "directive-class-suffix": true,
- "enforce-component-selector": true,
- "no-queries-parameter": true,
- "pipe-naming": ["camelCase"],
- "prefer-inline-decorator": [true, "HostListener"],
- "use-host-property-decorator": true,
- "use-input-property-decorator": true,
- "use-output-property-decorator": true,
- "rxjs-collapse-imports": true,
- "rxjs-pipeable-operators-only": true,
- "rxjs-no-static-observable-methods": true,
- "rxjs-proper-imports": true
- },
- "linterOptions": {
- "exclude": ["src/polyfills.ts", "src/test.ts"]
- }
- }
Add Comment
Please, Sign In to add comment