This package allows to use Prettierx instead Prettier for packages that not supports Prettierx.
Good examples are prettier-eslint and the VS Code Prettier extension.
You can use it also with eslint-plugin-prettierx.
Install aMarCruz/prettier, as prettierx is a dependency of this you don't need install it:
yarn add aMarCruz/prettier -D
# or
npm i aMarCruz/prettier -D
If you want to include support for the additional PrettieX options, add the following to the json.schema
property in your VS Code settings:
{
"json.schemas": [
{
"fileMatch": [".prettierrc", ".prettierrc.json"],
"url": "https://cdn.jsdelivr.net/gh/aMarCruz/prettier/schema.json"
}
],
}
The MIT license.