Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocha-aware prefer-arrow-functions #275

Open
rhansen opened this issue Nov 15, 2020 · 0 comments
Open

Mocha-aware prefer-arrow-functions #275

rhansen opened this issue Nov 15, 2020 · 0 comments

Comments

@rhansen
Copy link

rhansen commented Nov 15, 2020

The prefer-arrow-functions rule from eslint-plugin-prefer-arrow is nice but is not aware of Mocha's preference for non-arrow functions. It would be nice if there was a Mocha-aware equivalent, similar to the mocha/prefer-arrow-callback rule.

I opened an issue against the prefer-arrow plugin as well: TristonJ/eslint-plugin-prefer-arrow#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant