Reputation: 3497
I have a JavaScript project that I'd like to prevent the use of lambda expression functions =>.
Is there an ESLint rule I can use to help enforce this?
I'm working with Visual Studio Code.
(I've searched and tested and guessed for a couple hours...)
Upvotes: 0
Views: 514
Reputation: 3309
Possible to use eslint-plugin-es
with es/no-arrow-functions
rule. Reference here
P.S. it's not lambda, but arrow functions :)
Upvotes: 2