From c2147dbc7a14a00189d362e477148bb5f4e31412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Tue, 17 Sep 2024 23:17:45 +0200 Subject: [PATCH] fix: remove deprecated ESLint rules `no-confusing-arrow` `no-floating-decimal` `no-mixed-operators` `quote-props` `arrow-parens` --- .eslintrc.json | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b374058..bc0d788 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -93,25 +93,12 @@ ], "no-array-constructor": "error", "no-caller": "error", - "no-confusing-arrow": "error", "no-delete-var": "error", "no-empty": ["error", { "allowEmptyCatch": true }], "no-empty-static-block": "error", "no-eval": "error", - "no-floating-decimal": "error", "no-global-assign": "error", "no-implied-eval": "error", - "no-mixed-operators": [ - "error", - { - "groups": [ - ["==", "!=", "===", "!==", ">", ">=", "<", "<="], - ["&&", "||"], - ["in", "instanceof"] - ], - "allowSamePrecedence": true - } - ], "no-multi-str": "error", "no-new-func": "error", "no-object-constructor": "error", @@ -148,13 +135,11 @@ "prefer-object-has-own": "error", "prefer-promise-reject-errors": "error", "prefer-regex-literals": ["error", { "disallowRedundantWrapping": true }], - "quote-props": ["error", "as-needed"], "radix": "error", "yoda": ["error", "never"], "curly": ["error", "all"], "func-style": ["error", "expression"], "prefer-arrow-callback": "error", - "arrow-parens": ["error", "always"], "arrow-body-style": ["error", "always"], "promise/param-names": "error",