@mnenie/prettier
v1.0.4
Published
prettier config from mnenie
Downloads
17
Readme
Prettier config (@mnenie/prettier) 🔧
Installing
- Use one of these following commands for adding package to your project.
// npm
npm install -D @mnenie/prettier
// yarn
yarn add -D @mnenie/prettier
- After installing, create/update
.prettierrc.cjs
file with content:
// default
const { prettier } = require('@mnenie/prettier');
/** @type {import('prettier').Config} */
module.exports = prettier;
// with tailwindcss
const { prettier } = require('@mnenie/prettier');
/** @type {import('prettier').Config} */
module.exports = {
...prettier,
plugins: ['prettier-plugin-tailwindcss']
};