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

Add new rule no-jsx-attributes #2978

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

NullVoxPopuli
Copy link
Contributor

Resolves #2977

@lifeart
Copy link
Collaborator

lifeart commented Sep 15, 2023

@NullVoxPopuli it seems we could offer fixes here :)


This rule **forbids** the following attributes:

- acceptCharset
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also specify correct name here?
acceptCharset -> {{property 'acceptCharset'}}

- allowTransparency
- autoComplete
- autoFocus
- autoPlay
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

autoPlay: autoplay

@bmish bmish changed the title Resolves #2977: Create no-jsx-attributes rule Add new rule no-jsx-attributes Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New rule: no-jsx-attributes
3 participants