From 92813be08e0450e5d715ccf72097a9aee7df1b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 6 Mar 2021 04:06:00 +0100 Subject: [PATCH] Remove ESLint rules incompatible with Pronto The pronto-eslint gem depends on the eslintrb gem, which uses a very old version of ESLint which doesn't support some of the rules we use. The most useful rules here were no-tabs and func-call-spacing. It's a shame they were added to ESLint just one month after eslintrb stopped being maintained. --- .eslintrc.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 59459812d..2c57deb64 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -34,7 +34,6 @@ "null": "ignore" } ], - "func-call-spacing": "error", "indent": [ "error", 2 @@ -42,7 +41,6 @@ "key-spacing": "error", "keyword-spacing": "error", "linebreak-style": "error", - "lines-between-class-members": "error", "max-len": [ "warn", { @@ -61,7 +59,6 @@ "no-param-reassign": "error", "no-shadow": "error", "no-spaced-func": "error", - "no-tabs": "error", "no-trailing-spaces": "error", "no-void": "error", "no-whitespace-before-property": "error", @@ -109,7 +106,6 @@ } ], "strict": "error", - "switch-colon-spacing": "error", "yoda": "error" } }