From f9d283800886c626a2ead0614cda96aa89e43c29 Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin Date: Thu, 5 Mar 2020 21:20:59 +0100 Subject: [PATCH] Cleans up the eslint rules --- .eslintrc | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.eslintrc b/.eslintrc index ea383d2..761d707 100644 --- a/.eslintrc +++ b/.eslintrc @@ -25,23 +25,15 @@ }, }, "rules": { - "ordered-imports": false, - "no-var-requires": false, "indent": [ "error", 2 ], - "no-console": 0, - "eofline": false, - "no-unused-variable": true, - "no-unused-expression": true, - "only-arrow-functions": false, - "space-before-function-paren": 0, - "trailing-comma": [ - true, - "never" + "no-console": [ + "error", + { allow: ["warn", "error"] } ], - "object-literal-sort-keys": false, + "space-before-function-paren": 0, "semi": [ "warn", "never"