1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-11-09 22:08:37 +01:00

feat: add func-style: "expression"

Ref: https://eslint.org/docs/latest/rules/func-style

BREAKING CHANGE: New rule introduced
This commit is contained in:
Divlo 2022-08-31 13:44:54 +02:00
parent 1f20fe89e8
commit 099a3388a1
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -146,6 +146,7 @@
"radix": "error", "radix": "error",
"yoda": ["error", "never"], "yoda": ["error", "never"],
"curly": ["error", "all"], "curly": ["error", "all"],
"func-style": ["error", "expression"],
"arrow-parens": ["error", "always"], "arrow-parens": ["error", "always"],
"arrow-body-style": ["error", "always"], "arrow-body-style": ["error", "always"],