Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jsx-pascal-case] Components can with $ or _ #2395

Merged
merged 1 commit into from Aug 31, 2019
Merged

[jsx-pascal-case] Components can with $ or _ #2395

merged 1 commit into from Aug 31, 2019

Commits on Aug 28, 2019

  1. [fix] jsx-pascal-case: allow one-letter-named components

    Fixes #2394.
    
    $ and _ are valid names for components that are neither upper nor lower
    case. This change ensures the pascal case rule doesn't apply to single letter components
    Haegin authored and ljharb committed Aug 28, 2019
    Copy the full SHA
    e7f7e89 View commit details
    Browse the repository at this point in the history