mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
allow arrow functions outside callbacks in ESLint
This commit is contained in:
parent
a97dff52f4
commit
bcf9fa866b
@ -3,6 +3,7 @@
|
|||||||
"plugins": ["lodash", "wix-editor"],
|
"plugins": ["lodash", "wix-editor"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"semi": [2, "always"],
|
"semi": [2, "always"],
|
||||||
|
"func-style": [2, "declaration", {"allowArrowFunctions": true}],
|
||||||
"prefer-spread": 0,
|
"prefer-spread": 0,
|
||||||
"prefer-template": 0,
|
"prefer-template": 0,
|
||||||
"consistent-return": 0,
|
"consistent-return": 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user