From e31e9cd345ee910bd6c609656c14d3c885ea46b3 Mon Sep 17 00:00:00 2001 From: Igor Gassmann Date: Wed, 27 Dec 2017 21:09:13 -0300 Subject: [PATCH] Change rule for func-names to as-needed --- .eslintrc.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 2fbd88746..2d095999a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,5 @@ { - "plugins": [ - "flowtype" - ], + "plugins": ["flowtype"], "extends": [ "airbnb", "plugin:import/electron", @@ -28,7 +26,8 @@ "app": true }, "rules": { - "import/no-commonjs": 1, - "import/no-amd": 1 + "import/no-commonjs": "warn", + "import/no-amd": "warn", + "func-names": ["warn", "as-needed"] } -} \ No newline at end of file +}