From 4792de23d702bc84e711e937bb8199070625d7d2 Mon Sep 17 00:00:00 2001 From: Joel2B Date: Thu, 12 Aug 2021 17:38:21 -0600 Subject: [PATCH] Update eslint rules --- .eslintrc.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 657055c..52bb9a5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,7 +12,14 @@ "rules": { "semi": [2, "always"], "comma-dangle": [2, "always-multiline"], - "space-before-function-paren": ["error", "never"], + "space-before-function-paren": [ + "error", + { + "anonymous": "never", + "named": "never", + "asyncArrow": "always" + } + ], "eqeqeq": ["warn", "always"], "indent": [ "warn",