1.0.0 • Published 1 year ago
@magno/prettier-config v1.0.0
Prettier config
A Prettier shareable config
Installation
npm install prettier @magno/prettier-config --save-dev
# or using Yarn
yarn add prettier @magno/prettier-config --dev
Usage
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"
With Tailwind CSS sort classes
module.exports = {
...require("@magno/prettier-config/tailwind"),
};
Contributing
- 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
Security Vulnerabilities
If you discover a security vulnerability within this project, please send an e-mail to Magno Biét via magno.biet@gmail.com. All security vulnerabilities will be promptly addressed.
License
This package is licensed under the MIT license. Copyright © Magno Biét.
1.0.0
1 year ago