@maxpatiiuk/prettier-config
v2.0.0
Published
A mostly default prettier configuration with plugins for package.json, tailwind class names, xml files and shell files
Downloads
2
Maintainers
Readme
Prettier Configuration
A mostly default prettier configuration with plugins for package.json
,
Tailwind class names, .xml
files and shell files
Usage
Install this config as a dev dependency:
npm install -D @maxpatiiuk/prettier-config
Then, create a prettier.config.js
file at the root of your project:
import prettierConfig from "@maxpatiiuk/prettier-config";
/**
* @see https://prettier.io/docs/en/configuration.html
* @type {import("prettier").Config}
*/
const config = {
...prettierConfig,
// your overwrites go here
};
export default config;
OR, simply add this to your package.json
:
"prettier": "@maxpatiiuk/prettier-config"