Update codelyzer
This commit is contained in:
parent
f3567088ce
commit
a563a494f0
2 changed files with 18 additions and 8 deletions
|
@ -36,7 +36,7 @@
|
|||
"zone.js": "0.6.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"codelyzer": "0.0.12",
|
||||
"codelyzer": "0.0.18",
|
||||
"tslint": "^3.7.4",
|
||||
"typescript": "^1.8.10",
|
||||
"typings": "^0.8.1"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"rulesDirectory": ["./node_modules/codelyzer/dist/src"],
|
||||
"rulesDirectory": ["./node_modules/codelyzer"],
|
||||
"rules": {
|
||||
"class-name": true,
|
||||
"curly": false,
|
||||
|
@ -34,13 +34,23 @@
|
|||
"triple-equals": true,
|
||||
"variable-name": false,
|
||||
|
||||
"directive-selector-name": [true, "camelCase"],
|
||||
"component-selector-name": [true, "kebab-case"],
|
||||
"directive-selector-type": [true, "attribute"],
|
||||
"component-selector-type": [true, "element"],
|
||||
"host-parameter-decorator": true,
|
||||
"input-parameter-decorator": true,
|
||||
"output-parameter-decorator": true,
|
||||
"attribute-parameter-decorator": true,
|
||||
"input-property-directive": true,
|
||||
"output-property-directive": true
|
||||
"directive-selector-prefix": [true, "my"],
|
||||
"component-selector-prefix": [true, "my"],
|
||||
"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,
|
||||
"no-forward-ref" :true,
|
||||
"use-life-cycle-interface": true,
|
||||
"use-pipe-transform-interface": true,
|
||||
"pipe-naming": [true, "camelCase", "my"],
|
||||
"component-class-suffix": true,
|
||||
"directive-class-suffix": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue