From 850d92cfdd7e91181fe1ded9b4fd2f91e653488b Mon Sep 17 00:00:00 2001
From: Perreal Guillaume <guillaume.perreal@irstea.fr>
Date: Wed, 9 Oct 2019 12:03:15 +0200
Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20vers=20codelyzer=205.0.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 package.json |  4 ++--
 tslint.json  | 37 +++++++++++++++++++------------------
 2 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/package.json b/package.json
index b3ae5ff..72c981e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "irstea-typescript-config",
-  "version": "1.0.7",
+  "version": "2.0.0",
   "description": "TSC, TSLint and Prettier configuration.",
   "keywords": [
     "tslint",
@@ -17,7 +17,7 @@
     "ci-publish": "^1.3.1"
   },
   "peerDependencies": {
-    "codelyzer": "^4.0.0",
+    "codelyzer": "^5.0.0",
     "prettier": "^1.15.0",
     "prettier-tslint": "^0.4.2",
     "rxjs-tslint-rules": "^4.10",
diff --git a/tslint.json b/tslint.json
index 4866d90..65d6e53 100644
--- a/tslint.json
+++ b/tslint.json
@@ -138,28 +138,29 @@
     ],
     "unified-signatures": true,
     "variable-name": false,
-    "directive-selector": [
+    "contextual-lifecycle": true,
+    "no-conflicting-lifecycle": true,
+    "no-host-metadata-property": true,
+    "no-input-rename": true,
+    "no-inputs-metadata-property": true,
+    "no-output-native": true,
+    "no-output-on-prefix": true,
+    "no-output-rename": true,
+    "no-outputs-metadata-property": true,
+    "no-queries-metadata-property": true,
+    "prefer-inline-decorator": true,
+    "template-banana-in-box": true,
+    "template-no-negated-async": true,
+    "use-lifecycle-interface": true,
+    "use-pipe-transform-interface": true,
+    "component-class-suffix": [
       true,
-      "attribute",
-      "app",
-      "camelCase"
+      "Component"
     ],
-    "component-selector": [
+    "directive-class-suffix": [
       true,
-      "element",
-      "app",
-      "kebab-case"
+      "Directive"
     ],
-    "no-output-on-prefix": true,
-    "use-input-property-decorator": true,
-    "use-output-property-decorator": true,
-    "use-host-property-decorator": true,
-    "no-input-rename": true,
-    "no-output-rename": true,
-    "use-life-cycle-interface": true,
-    "use-pipe-transform-interface": true,
-    "component-class-suffix": true,
-    "directive-class-suffix": true,
     "prettier": {
       "severity": "warning"
     }
-- 
GitLab