Change rule for func-names to as-needed

This commit is contained in:
Igor Gassmann 2017-12-27 21:09:13 -03:00
parent 0a94082983
commit e31e9cd345

View file

@ -1,7 +1,5 @@
{ {
"plugins": [ "plugins": ["flowtype"],
"flowtype"
],
"extends": [ "extends": [
"airbnb", "airbnb",
"plugin:import/electron", "plugin:import/electron",
@ -28,7 +26,8 @@
"app": true "app": true
}, },
"rules": { "rules": {
"import/no-commonjs": 1, "import/no-commonjs": "warn",
"import/no-amd": 1 "import/no-amd": "warn",
"func-names": ["warn", "as-needed"]
} }
} }