feat(eslint): Rule "prefer-arrow-callback"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 02:11:16 +04:00
parent 1191beb965
commit ccea0635e4
2 changed files with 8 additions and 1 deletions

View File

@ -388,6 +388,13 @@
"error",
"never"
],
"prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": false,
"allowUnboundThis": false
}
],
"prefer-const": [
"error",
{