From 261ca1f0927b0463aef6e6f6d2fbc9b2cd4e9b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Fri, 7 Dec 2018 15:47:25 +0100 Subject: [PATCH] eslint: enable no-var and prefer-const rules --- .eslintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc b/.eslintrc index 267f7f7b..47a68f9c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,9 @@ "ecmaVersion": 2017 }, "rules": { + // TODO(bajtos) move these two rules to eslint-config-loopback + "no-var": "error", + "prefer-const": "error", "max-len": ["error", 110, 4, { "ignoreComments": true, "ignoreUrls": true,