2.0.0 • Published 2 years ago
@maxpatiiuk/prettier-config v2.0.0
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-configThen, 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"2.0.0
2 years ago