Skip to content

Instantly share code, notes, and snippets.

@ajcrites
Created December 22, 2017 15:06
Show Gist options
  • Save ajcrites/bfaad3ecd432e89714138be24adbecaf to your computer and use it in GitHub Desktop.
Save ajcrites/bfaad3ecd432e89714138be24adbecaf to your computer and use it in GitHub Desktop.
{
"rules": {
"no-duplicate-variable": true,
"no-unused-variable": [
true
],
"no-console": [true, "log"],
"angular-whitespace": [true, "check-interpolation"],
"banana-in-box": true,
"templates-no-negated-async": true,
"directive-selector": [true, "attribute", "tcp", "camelCase"],
"component-selector": [true, "element", "tcp", "kebab-case"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-attribute-parameter-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"use-view-encapsulation": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"pipe-naming": [true, "camelCase", "tcp"],
"component-class-suffix": [true, "Component", "Modal", "Page", "App"],
"directive-class-suffix": true,
"templates-use-public": true,
"no-access-missing-member": true,
"invoke-injectable": true,
"template-to-ng-template": true,
"quotemark": [true, "single", "avoid-escape"],
"indent": [true, "spaces"],
"prefer-const": true,
"no-trailing-whitespace": true,
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"semicolon": [true, "always", "ignore-interfaces"],
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type", "check-preblock"],
"no-inferrable-types": true,
"curly": true,
"no-angle-bracket-type-assertion": true,
"no-empty-interface": true,
"triple-equals": [true, "allow-null-check"],
"prefer-for-of": true,
"prefer-template": [true, "allow-single-concat"]
},
"rulesDirectory": [
"node_modules/tslint-eslint-rules/dist/rules",
"node_modules/codelyzer"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment