From 471fd9eaea365a1e99de08ddc69c9b756ea773e0 Mon Sep 17 00:00:00 2001 From: David Dorchies <david.dorchies@irstea.fr> Date: Fri, 9 Feb 2018 09:44:18 +0100 Subject: [PATCH] Modification tslint pour les noms de variables (allow-leading-underscore) et les virgules en fin de tableau. --- tslint.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tslint.json b/tslint.json index dfff889c..e74a30c4 100644 --- a/tslint.json +++ b/tslint.json @@ -4,6 +4,12 @@ "tslint:recommended" ], "jsRules": {}, - "rules": {}, + "rules": { + "variable-name": [true, + "check-format", + "allow-leading-underscore" + ], + "trailing-comma": [false] + }, "rulesDirectory": [] } \ No newline at end of file -- GitLab