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] Warns on single-character identifiers #505

Closed
rayhatfield opened this issue Mar 17, 2016 · 1 comment
Closed

[jsx-pascal-case] Warns on single-character identifiers #505

rayhatfield opened this issue Mar 17, 2016 · 1 comment

Comments

@rayhatfield
Copy link

If I reference a component using a single character I get a PascalCase warning.

import C from 'common/components/Conditional';
<C ...>
@nkbt
Copy link

nkbt commented Apr 6, 2016

Yep would be nice to fix this one.

import H1 from '../../../UI/Elements/H1';
import A from '../../../UI/Elements/A';

const TermsOfService = () => (
  <span>
    <A className={css.url} href="/terms-of-service">Terms of Service</A>
  </span>
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants