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

[react/no-unknown-property] Unknown property 'align' #3425

Closed
tipleavalentin opened this issue Sep 8, 2022 · 3 comments
Closed

[react/no-unknown-property] Unknown property 'align' #3425

tipleavalentin opened this issue Sep 8, 2022 · 3 comments

Comments

@tipleavalentin
Copy link

Hi!
There is an issue that still persists after the last minor updates:

warning Unknown property 'align' found react/no-unknown-property

Ex: {index + 1}

Packages:
eslint-plugin-react: 7.31.7
eslint: 8.23.0

Can you please check?
Thanks

@ljharb
Copy link
Member

ljharb commented Sep 8, 2022

On what tag?

@ljharb
Copy link
Member

ljharb commented Sep 8, 2022

nvm, i'll add it on all supported ones. note that "align" is deprecated, alignment should be done with CSS.

@tipleavalentin
Copy link
Author

Sorry for the late reply. I pasted the code but the tag was removed.
It was a tabla data - td tag.
I didn't know it was deprecated, just checked, I guess you can leave it that way, I'm not using it that much.
Thanks!

@ljharb ljharb closed this as completed in cd23e3f Sep 8, 2022
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