From bcf9fa866b7f627c53e5c41eb92ddaf16c58866d Mon Sep 17 00:00:00 2001 From: Omer Ganim <ganimomer@gmail.com> Date: Sun, 1 May 2016 17:36:48 +0300 Subject: [PATCH] allow arrow functions outside callbacks in ESLint --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index be5a694..ab24739 100644 --- a/.eslintrc +++ b/.eslintrc @@ -3,6 +3,7 @@ "plugins": ["lodash", "wix-editor"], "rules": { "semi": [2, "always"], + "func-style": [2, "declaration", {"allowArrowFunctions": true}], "prefer-spread": 0, "prefer-template": 0, "consistent-return": 0,