Skip to content

Add exclude for valid-params rule #127

Closed
@alexilyaev

Description

@alexilyaev

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions