A Prettier shareable config
npm install prettier @magno/prettier-config --save-dev
# or using Yarn
yarn add prettier @magno/prettier-config --dev
# or using PNPM
pnpm add prettier @magno/prettier-config --save-dev
Create a prettier.config.js
file in your root project directory and extend the config.
module.exports = {
...require('@magno/prettier-config'),
endOfLine: 'lf', // to overwrite the default value
};
Or, just add the following line to your package.json
file:
"prettier": "@magno/prettier-config"
module.exports = {
...require('@magno/prettier-config/tailwind'),
};
- Fork it!
- Create your feature branch
git checkout -b feature/my-new-feature
- Commit your changes
git commit -m "feat: add some feature"
- Push to the branch
git push origin feature/my-new-feature
- Submit a pull request
If you discover a security vulnerability within this project, please send an e-mail to Magno Biét via [email protected]. All security vulnerabilities will be promptly addressed.
This package is licensed under the MIT license. Copyright © Magno Biét.