@darwintantuco/prettier-config
v1.0.1
Published
My personal prettier config
Downloads
19
Readme
prettier-config
My personal prettier config
Dependencies
- prettier
Installation
npm
npm install prettier @darwintantuco/prettier-config --save-dev
yarn
yarn add @darwintantuco/prettier-config --dev
Usage
Add prettier config in package.json
{
"prettier": "@darwintantuco/prettier-config",
"scripts": {
"prettier:check": "prettier --list-different 'css/**/*.{css,scss}' 'js/**/*.{js,jsx,ts,tsx}'",
"prettier:fix": "prettier --write 'css/**/*.{css,scss}' 'js/**/*.{js,jsx,ts,tsx}'"
}
}
License
MIT