Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Scripts: Ensure the default Prettier config is used with `lint-js` when needed #20071
Follow-up for #20036.
This patch adds a fallback for projects who opt-out from defining their own Prettier config and reuses the default one used with
How has this been tested?
I removed ESLint config and Prettier config from the root level of Gutenberg and executed:
There were 24 errors reported but they are silenced with the existing ESLint plugin. That confirms that this patch works as intended.