Skip to content

lowercase-name rule ignoreTopLevelTest option #612

@overlookmotel

Description

@overlookmotel

To complement the ignoreTopLevelDescribe option added in #611, would it be possible to also have an ignoreTopLevelTest option?

I'd envisage it affecting both it and test - I doubt many people use both it and test in the same file, so it seems excessive to have separate ignoreTopLevelTest and ignoreTopLevelIt options.

An additional option ignoreTopLevel could also set both ignoreTopLevelDescribe and ignoreTopLevelTest.

Does this sound like a feature you'd accept? If so, I'd be happy to do a PR based on #611.

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