Skip to content

Commit

Permalink
fix(codelyzer): Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
joaogarin committed Dec 19, 2016
1 parent 4eafc48 commit 13f9967
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,20 @@
"node_modules/codelyzer"
],
"rules": {
"directive-selector-name": [true, "camelCase"],
"component-selector-name": [true, "kebab-case"],
"directive-selector-type": [true, "attribute"],
"component-selector-type": [true, "element"],
"directive-selector-prefix": [true, "cb"],
"component-selector-prefix": [true, "cb"],
// The rule have the following arguments:
// [ENABLED, "attribute" | "element", "selectorPrefix" | ["listOfPrefixes"], "camelCase" | "kebab-case"]
"directive-selector": [
true,
"attribute",
"cb",
"camelCase"
],
"component-selector": [
true,
"element",
"cb",
"kebab-case"
],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
Expand All @@ -18,10 +26,20 @@
"no-forward-ref": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"pipe-naming": [true, "camelCase", "cb"],
"component-class-suffix": true,
"directive-class-suffix": true,
"class-name": true,
// [ENABLED, "SUFFIX"]
// Where "SUFFIX" is your custom suffix, for instance "Page" for Ionic 2 components.
"component-class-suffix": [
true,
"Component"
],
"directive-class-suffix": [
true,
"Directive"
],
"import-destructuring-spacing": true,
"templates-use-public": true,
"no-access-missing-member": true,
"invoke-injectable": true,
"curly": false,
"eofline": true,
"indent": [
Expand Down Expand Up @@ -76,4 +94,4 @@
"check-type"
]
}
}
}

0 comments on commit 13f9967

Please sign in to comment.