From c0ec89ed0c67762c772b70cfdc10a7d0aaf90806 Mon Sep 17 00:00:00 2001 From: Divlo Date: Wed, 31 Aug 2022 13:49:03 +0200 Subject: [PATCH] feat: add `prefer-arrow-callback` Ref: https://eslint.org/docs/latest/rules/prefer-arrow-callback BREAKING CHANGE: New rule introduced --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index cee5929..93b8072 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -147,6 +147,7 @@ "yoda": ["error", "never"], "curly": ["error", "all"], "func-style": ["error", "expression"], + "prefer-arrow-callback": "error", "arrow-parens": ["error", "always"], "arrow-body-style": ["error", "always"],