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

Add exclude for valid-params rule #127

Closed
alexilyaev opened this issue May 2, 2018 · 1 comment · Fixed by #515
Closed

Add exclude for valid-params rule #127

alexilyaev opened this issue May 2, 2018 · 1 comment · Fixed by #515

Comments

@alexilyaev
Copy link

alexilyaev commented May 2, 2018

Description

When using Bluebird, there are cases that deviate from the standard usage of promise functions.
One that I found is Bluebird's .catch can receive 2 arguments.
See http://bluebirdjs.com/docs/api/catch.html#filtered-catch

So, I think we should have an exclude option to set which functions not to check.

@macklinu
Copy link
Contributor

I'd be open to a PR for this!

brettz9 added a commit to brettz9/eslint-plugin-promise that referenced this issue Jul 25, 2024
brettz9 added a commit to brettz9/eslint-plugin-promise that referenced this issue Jul 29, 2024
brettz9 added a commit to brettz9/eslint-plugin-promise that referenced this issue Jul 30, 2024
brettz9 added a commit to brettz9/eslint-plugin-promise that referenced this issue Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants