From c1074cbe2eb7b09fddb0ac79c1de5b23f840bfe8 Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Sun, 16 Jan 2022 02:35:18 -0800 Subject: [PATCH] ci: change ESLint options to use "error" and "warn" instead of numbers (#409) --- .eslintrc.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b47bc599d..b4411ac37 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,16 +12,16 @@ "rules": { "indent": ["error", 2, { "SwitchCase": 1 }], "linebreak-style": ["error", "unix"], - "no-trailing-spaces": 2, - "eol-last": 2, + "no-trailing-spaces": "error", + "eol-last": "error", "space-in-parens": ["error", "never"], - "no-multiple-empty-lines": 1, + "no-multiple-empty-lines": "warn", "prefer-const": "error", "space-infix-ops": "error", "no-useless-escape": "off", "require-atomic-updates": "off", - "no-var": 1, - "no-await-in-loop" : 1 + "no-var": "warn", + "no-await-in-loop" : "warn" }, "globals" : { "Parse" : true