1
1
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:
Divlo 2022-08-31 13:49:03 +02:00
parent 099a3388a1
commit c0ec89ed0c
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -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"],