Rule change proposal: no-useless-undefined
add option to skip checking arrow function body
#2191
Labels
no-useless-undefined
add option to skip checking arrow function body
#2191
Sometimes it's more clear to use
() => undefined
than() => {}
,/~https://github.com/babel/babel/pull/15547/files#diff-27084e8878ce0b72bf5cd31ec6a0a719096f981bcfa32ca71a57a0f35fb84676R64
Suggest add option
checkArrowFunctionBody: false
.The text was updated successfully, but these errors were encountered: