Skip to content

Allow configuring exceptions for var-shadows-builtin #1986

Description

@anderseknert

If you're not using e.g. http.send or the new uri.parse functions and have no plans to do so, Regal should let you use names like http and uri as vars where you want to. I suggest we add a configuration option to var-shadows-builtin to allow a list of excepted names. While there's also a rule-shadows-builtin... that kind of shadowing feels more dubious to me, and I don't think there's reason to allow exceptions for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestruleIssues related to new or existing linter rules

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions