From 7b3dd754445d59d1b1ff66660b01d571b6870f5e Mon Sep 17 00:00:00 2001 From: Anthony Castro Date: Sun, 28 Jan 2024 21:01:19 -0500 Subject: [PATCH] Enforce consistent arrow body --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 26f2e5a..4f50eb9 100644 --- a/index.js +++ b/index.js @@ -44,6 +44,7 @@ module.exports = { { allowTemplateLiterals: false, avoidEscape: true }, ], "@typescript-eslint/no-unused-vars": "error", + "arrow-body-style": ["error", "as-needed"], "import/newline-after-import": "error", "import/no-named-as-default": "off", "import/no-relative-packages": "error",