mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-12-18 21:45:04 +01:00
feat: add prefer-arrow-callback
Ref: https://eslint.org/docs/latest/rules/prefer-arrow-callback BREAKING CHANGE: New rule introduced
This commit is contained in:
parent
099a3388a1
commit
c0ec89ed0c
@ -147,6 +147,7 @@
|
|||||||
"yoda": ["error", "never"],
|
"yoda": ["error", "never"],
|
||||||
"curly": ["error", "all"],
|
"curly": ["error", "all"],
|
||||||
"func-style": ["error", "expression"],
|
"func-style": ["error", "expression"],
|
||||||
|
"prefer-arrow-callback": "error",
|
||||||
"arrow-parens": ["error", "always"],
|
"arrow-parens": ["error", "always"],
|
||||||
"arrow-body-style": ["error", "always"],
|
"arrow-body-style": ["error", "always"],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user