Change rule for func-names to as-needed
This commit is contained in:
parent
0a94082983
commit
e31e9cd345
1 changed files with 5 additions and 6 deletions
|
@ -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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue