aboutsummaryrefslogtreecommitdiff
path: root/packages/eslint-config-base/index.js
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-18 17:24:47 +0200
committerHampusM <hampus@hampusmat.com>2021-08-18 17:24:47 +0200
commit6ed078de30a7bf35deace728857d1d293d59eb15 (patch)
tree1a425de10515922193ee18480b1cb0d9c34b7176 /packages/eslint-config-base/index.js
parentdfd299d4697a629f09ef20fc05c6d9e474bd5475 (diff)
Updated func-style in the base eslint config
Diffstat (limited to 'packages/eslint-config-base/index.js')
-rw-r--r--packages/eslint-config-base/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/eslint-config-base/index.js b/packages/eslint-config-base/index.js
index bcd5f24..718f15e 100644
--- a/packages/eslint-config-base/index.js
+++ b/packages/eslint-config-base/index.js
@@ -50,7 +50,7 @@ module.exports = {
],
eqeqeq: "error",
"func-names": "off",
- "func-style": [ "error", "declaration" ],
+ "func-style": [ "error", "declaration", { allowArrowFunctions: true } ],
"id-length": "off",
"implicit-arrow-linebreak": [
"error",