Skip to content

Instantly share code, notes, and snippets.

@sametcelikbicak
Created November 12, 2019 14:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sametcelikbicak/f94aedab8ce1403b2851c3d6bea0ec3f to your computer and use it in GitHub Desktop.
Save sametcelikbicak/f94aedab8ce1403b2851c3d6bea0ec3f to your computer and use it in GitHub Desktop.
Angular tslint configuration
{
"extends": ["codelyzer", "tslint:recommended", "tslint-config-prettier"],
"rules": {
"component-selector": [true, "element", "app", "kebab-case"],
"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,
"prefer-output-readonly": true,
"template-conditional-complexity": true,
"template-cyclomatic-complexity": 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,
"directive-selector": true,
"enforce-component-selector": true,
"no-queries-parameter": true,
"prefer-inline-decorator": true,
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true
},
"defaultSeverity": "warning"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment