Skip to content

Rule 'jsx-uses-vars': why not on by default? #49

Closed
@banderson

Description

@banderson

Thanks for this plugin! Very cool.

I'm thinking about adopting this for my default setup across the org, but just wondering why jsx-uses-vars wouldn't be turned on by default (maybe to 'warn')? I guess the real question is: what's the use case for not wanting to mark them used?

Also, I'm totally willing to PR a change, but just wanted to get your feedback first. And if the consensus is no rule should be on by default, can we invert the language of the rule to something like jsx-ignore-var-usage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions