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-tag-spacing doesn't allow for forbid a space before ">" in a start tag #1396
Comments
Would you be up for making a PR for this feature? I had a quick look today, and it shouldn't be that complicated as the code will be quite similar to how the current I'm ready to assist if needed. We'll need to add a new option to support this though, I don't know what the name should be. Perhaps simply |
|
PR opened here: #1641 |
Closed by #1641. |
Any idea when this will be released? |
I still have this issue, this PR has not been released? "react/jsx-tag-spacing": ["error", {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never",
"beforeClosing": "never"
}], <Foo >foo</Foo > is allowed Btw I also have this error:
but I follow the format of this rule described in Readme, (using "eslint-plugin-react": "^7.6.1") edit: right, it complains about this new |
It’s published in v7.6; are you sure you’re running a local eslint? |
if I write Edit: well, it seems I forgot to uncomment |
In our project we have the need for forbidding spaces before the ">" symbol in a start tag. For example the following should not be allowed:
In comparison the following should not result in an error:
The text was updated successfully, but these errors were encountered: