Created
June 25, 2020 16:36
-
-
Save dsebastien/19acb20bf30fc2f4a09b60d974f7097c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"rulesDirectory": ["node_modules/@nrwl/workspace/src/tslint", "node_modules/codelyzer"], | |
"extends": ["rxjs-tslint-rules", "ngrx-tslint-rules/recommended", "tslint:recommended"], | |
"linterOptions": { | |
"exclude": ["**/*"] | |
}, | |
"rules": { | |
"arrow-return-shorthand": true, | |
"ban-types": [ | |
true, | |
["Object", "Use {} instead."], | |
["String", "User string instead."], | |
["Number", "Use number instead."], | |
["Boolean", "Use boolean instead."] | |
], | |
"callable-types": true, | |
"class-name": true, | |
"comment-format": false, | |
"component-class-suffix": true, | |
"component-max-inline-declarations": true, | |
"component-selector": [true, "element", "app", "kebab-case"], | |
"contextual-decorator": true, | |
"contextual-lifecycle": true, | |
"curly": true, | |
"deprecation": { | |
"severity": "warning" | |
}, | |
"directive-class-suffix": true, | |
"directive-selector": [true, "attribute", "app", "camelCase"], | |
"eofline": true, | |
"forin": true, | |
"import-blacklist": [true, "rxjs/Rx", "lodash"], | |
"interface-over-type-literal": true, | |
"max-classes-per-file": false, | |
"member-access": false, | |
"member-ordering": [ | |
true, | |
{ | |
"order": ["static-field", "instance-field", "static-method", "instance-method"] | |
} | |
], | |
"ngrx-action-hygiene": true, | |
"ngrx-avoid-dispatching-multiple-actions-sequentially": true, | |
"ngrx-effect-creator-and-decorator": true, | |
"ngrx-no-dispatch-in-effects": true, | |
"ngrx-no-duplicate-action-types": true, | |
"ngrx-no-effect-decorator": true, | |
"ngrx-no-effects-in-providers": true, | |
"ngrx-no-multiple-actions-in-effects": true, | |
"ngrx-no-multiple-stores": true, | |
"ngrx-no-reducer-in-key-names": true, | |
"ngrx-no-typed-store": true, | |
"ngrx-on-reducer-explicit-return-type": true, | |
"ngrx-selector-for-select": true, | |
"no-any": true, | |
"no-arg": true, | |
"no-bitwise": true, | |
"no-conflicting-lifecycle": true, | |
"no-console": [true, "log", "info", "debug", "time", "timeEnd", "trace"], | |
"no-construct": true, | |
"no-debugger": true, | |
"no-duplicate-super": true, | |
"no-empty": true, | |
"no-empty-interface": true, | |
"no-eval": true, | |
"no-forward-ref": true, | |
"no-host-metadata-property": true, | |
"no-inferrable-types": [true, "ignore-params"], | |
"no-input-prefix": true, | |
"no-input-rename": true, | |
"no-inputs-metadata-property": true, | |
"no-lifecycle-call": true, | |
"no-misused-new": true, | |
"no-non-null-assertion": true, | |
"no-output-native": true, | |
"no-output-on-prefix": true, | |
"no-output-rename": true, | |
"no-outputs-metadata-property": true, | |
"no-pipe-impure": true, | |
"no-queries-metadata-property": true, | |
"no-redundant-jsdoc": true, | |
"no-shadowed-variable": true, | |
"no-string-literal": false, | |
"no-string-throw": true, | |
"no-switch-case-fall-through": true, | |
"no-unnecessary-initializer": true, | |
"no-unused-css": true, | |
"no-unused-expression": true, | |
"no-var-keyword": true, | |
"no-var-requires": false, | |
"object-literal-sort-keys": false, | |
"pipe-prefix": true, | |
"prefer-const": true, | |
"prefer-inline-decorator": false, | |
"prefer-on-push-component-change-detection": true, | |
"prefer-output-readonly": true, | |
"radix": true, | |
"relative-url-prefix": true, | |
"template-banana-in-box": true, | |
"template-conditional-complexity": true, | |
"template-cyclomatic-complexity": true, | |
"template-i18n": true, | |
"template-no-any": true, | |
"template-no-autofocus": true, | |
"template-no-call-expression": true, | |
"template-no-distracting-elements": true, | |
"template-no-negated-async": true, | |
"template-use-track-by-function": true, | |
"triple-equals": [true, "allow-null-check"], | |
"typedef": [ | |
true, | |
"call-signature" | |
], | |
"unified-signatures": true, | |
"use-component-selector": false, | |
"use-component-view-encapsulation": true, | |
"use-lifecycle-interface": true, | |
"use-pipe-decorator": true, | |
"use-pipe-transform-interface": true, | |
"variable-name": { | |
"options": [ | |
"ban-keywords", | |
"check-format", | |
"allow-pascal-case", | |
"require-const-for-all-caps", | |
"allow-leading-underscore" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment