-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Still reports "jsxBracketSameLine is deprecated." even when option is not used #428
Labels
Comments
gwhitney
added a commit
to gwhitney/prettier-eslint-cli
that referenced
this issue
Jan 29, 2022
By removing the default value for jsx-bracket-same-line (which is just `undefined` anyway), no option value at all for jsxBracketSameLine will be generated if none is specified. Then if a recent version of prettier is in use for which that option is deprecated, it won't complain. Resolves prettier#428.
gwhitney
added a commit
to gwhitney/prettier-eslint-cli
that referenced
this issue
Jan 29, 2022
By removing the default value for jsx-bracket-same-line (which is just `undefined` anyway), no option value at all for jsxBracketSameLine will be generated if none is specified. Then if a recent version of prettier is in use for which that option is deprecated, it won't complain. Resolves prettier#428.
idahogurl
pushed a commit
that referenced
this issue
May 11, 2022
…ied (#430) By removing the default value for jsx-bracket-same-line (which is just `undefined` anyway), no option value at all for jsxBracketSameLine will be generated if none is specified. Then if a recent version of prettier is in use for which that option is deprecated, it won't complain. Resolves #428.
🎉 This issue has been resolved in version 6.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
prettier-eslint-cli
5.0.1:prettier
2.5.0:eslint
7.11.0:Relevant code/config.
What you did:
What happened:
I get a warning:
Reproduction:
-- paste your link here --
Problem description:
The program reports the deprecation of the
jsxBracketSameLine
option, which I'm aware of. As you can see from the prettier config above, there is nojsxBracketSameLine
option being used.Suggested solution:
This program should respect the config for user-installed prettier and not produce such extraneous warnings.
The text was updated successfully, but these errors were encountered: