UNPKG

@nationalbankbelgium/code-style

Version:
51 lines (49 loc) 1.81 kB
{ "extends": ["codelyzer"], "rules": { // Codelyzer recommended rules "component-class-suffix": [true, "Component"], "component-max-inline-declarations": true, "component-selector": [true, "element", "", "kebab-case"], "directive-class-suffix": [true, "Directive"], "directive-selector": [true, "attribute", "", "camelCase"], "no-inputs-metadata-property": true, "no-outputs-metadata-property": true, "no-host-metadata-property": true, "no-attribute-decorator": true, "no-conflicting-lifecycle": true, "no-input-rename": true, "no-output-native": true, "no-output-on-prefix": true, "no-output-rename": true, "no-forward-ref": true, "no-lifecycle-call": true, "no-queries-metadata-property": true, "prefer-output-readonly": true, "use-component-selector": true, "use-lifecycle-interface": true, "use-pipe-transform-interface": true, // Codelyzer rules "contextual-decorator": true, "contextual-lifecycle": true, "no-pipe-impure": true, "no-unused-css": true, "relative-url-prefix": true, "template-accessibility-alt-text": true, "template-accessibility-elements-content": true, "template-accessibility-label-for": true, "template-accessibility-tabindex-no-positive": true, "template-accessibility-table-scope": true, "template-accessibility-valid-aria": true, "template-banana-in-box": true, "template-conditional-complexity": [true, 4], "template-cyclomatic-complexity": [true, 10], "template-no-any": true, "template-no-autofocus": true, "template-no-distracting-elements": true, "template-no-negated-async": true, "template-use-track-by-function": true, "use-component-view-encapsulation": true, "use-pipe-decorator": true } }