@wordpress/prettier-config 's jsxBracketSameLine config is now deprecated #37516
Labels
[Package] Prettier config
/packages/prettier-config
[Type] Enhancement
A suggestion for improvement.
Projects
waviaei commentedDec 20, 2021
Description
When setting up our project's esllint using @wordpress/eslint-plugin, specified in
.eslintrc
as per:"extends": [ "plugin:@wordpress/eslint-plugin/recommended" ],
I get this error notice
jsxBracketSameLine is deprecated.
I found that this error notice is Prettier related, and comes from this line in @wordpress/prettier-config
This change is from Prettier 2.4
https://prettier.io/blog/2021/09/09/2.4.0.html
@wordpress/prettier-config's config setting needs to be updated
Step-by-step reproduction instructions
Here, we are using @wordpress/eslint-plugin as standalone -- not as part of @wordpress/scripts
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: