Not possible to override Prettier config when using recommended ESLint ruleset #24589
Labels
[Status] In Progress
Tracking issues with work in progress
[Tool] ESLint plugin
/packages/eslint-plugin
[Type] Bug
An existing feature does not function as intended
Previously: #20509, #21602
Steps to Reproduce:
.prettierrc
with own configuration values that differ from WordPress default (e.g."printWidth": 100
).@wordpress/eslint-plugin
recommended configuration in ESLint{ "extends": "plugin:@wordpress/eslint-plugin/recommended" }
Expected: My Prettier configuration values take precedence.
Actual: The WordPress default config values are always used.
The intention of #20509 is clear in its title that the default should take effect "when no config found". If a configuration is found, it should either be used verbatim, or merged with the WordPress default values.
The text was updated successfully, but these errors were encountered: