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

Rename some JSX-specific rules to include "jsx-" prefix #668

Closed
lencioni opened this issue Jul 7, 2016 · 0 comments
Closed

Rename some JSX-specific rules to include "jsx-" prefix #668

lencioni opened this issue Jul 7, 2016 · 0 comments

Comments

@lencioni
Copy link
Collaborator

lencioni commented Jul 7, 2016

It seems that this naming convention hasn't been applied consistently. I think that it might be helpful to rename a few rules that are JSX-specific and not really React-specific:

  • no-comment-textnodes -> jsx-no-comment-textnodes
  • require-extension -> jsx-require-extension
  • wrap-multilines -> jsx-wrap-multilines

and maybe

  • self-closing-comp -> jsx-self-closing-comp
@yannickcr yannickcr mentioned this issue Jul 17, 2016
9 tasks
lencioni added a commit to lencioni/eslint-plugin-react that referenced this issue Jul 18, 2016
This rule is JSX-specific, not React-specific. Changing its name makes
this clearer. I've kept the old one around as deprecated. We can remove
it at the next major version bump.

Addresses jsx-eslint#668 and jsx-eslint#686.
lencioni added a commit to lencioni/eslint-plugin-react that referenced this issue Jul 18, 2016
This rule is JSX-specific, not React-specific. Changing its name makes
this clearer. I've kept the old one around as deprecated. We can remove
it at the next major version bump.

Addresses jsx-eslint#668 and jsx-eslint#686.
lencioni added a commit to lencioni/eslint-plugin-react that referenced this issue Jul 18, 2016
This rule is JSX-specific, not React-specific. Changing its name makes
this clearer. I've kept the old one around as deprecated. We can remove
it at the next major version bump.

Addresses jsx-eslint#686. Fixes jsx-eslint#668.
lencioni added a commit to lencioni/eslint-plugin-react that referenced this issue Jul 20, 2016
This rule is JSX-specific, not React-specific. Changing its name makes
this clearer. I've kept the old one around as deprecated. We can remove
it at the next major version bump.

Addresses jsx-eslint#668 and jsx-eslint#686.
lencioni added a commit to lencioni/eslint-plugin-react that referenced this issue Jul 20, 2016
This rule is JSX-specific, not React-specific. Changing its name makes
this clearer. I've kept the old one around as deprecated. We can remove
it at the next major version bump.

Addresses jsx-eslint#668 and jsx-eslint#686.
lencioni added a commit to lencioni/eslint-plugin-react that referenced this issue Jul 20, 2016
This rule is JSX-specific, not React-specific. Changing its name makes
this clearer. I've kept the old one around as deprecated. We can remove
it at the next major version bump.

Addresses jsx-eslint#686. Fixes jsx-eslint#668.
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

1 participant