Update codelyzer
authorChocobozzz <florian.bigard@gmail.com>
Sat, 30 Apr 2016 06:48:00 +0000 (08:48 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 30 Apr 2016 06:48:00 +0000 (08:48 +0200)
client/package.json
client/tslint.json

index 0638acaacd3b66bebe17cd69e43f85d52df78910..db93ac68119d6959e06755e2a5e718d3094ba83e 100644 (file)
@@ -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"
index 6a40b5b1180619d809cb11d821458d8853d8409b..8e4e3fca13fc066f2a1b3b89af533393a462e277 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "rulesDirectory": ["./node_modules/codelyzer/dist/src"],
+  "rulesDirectory": ["./node_modules/codelyzer"],
   "rules": {
     "class-name": true,
     "curly": false,
     "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
   }
 }