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": [
"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"]
}
}
}