From dedb9c3b52bfaf398f475ac2c0e216e1c06e7a8b Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Wed, 7 Jun 2023 20:08:34 -0400 Subject: [PATCH] Make linting rules stricter (#293) --- .eslintrc.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 01fc1525..b3a85705 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,6 +12,13 @@ "rules": { "no-console": "error", "no-unused-vars": "warn", - "no-prototype-builtins": "warn" + "no-prototype-builtins": "warn", + "one-var": ["warn", "never"], + "no-duplicate-imports": "error", + "no-use-before-define": "error", + "curly": "warn", + "eqeqeq": ["error", "smart"], + "no-var": "warn", + "prefer-const":"warn" } -} +} \ No newline at end of file