Skip to content

[feature request] no-setup-in-describe: allow allowlisting function names #394

@JavaScriptBach

Description

@JavaScriptBach

no-setup-in-describe is a good rule, but my codebase has functions that carefully defines various hooks without destructive setup so people don't need to write them in every test file. It would be nice if this rule took a config option that allowed allowlisting function names, similar to how this.timeout() is allowed by the rule today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions