Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darwintantuco/prettier-config
My personal prettier config
https://github.com/darwintantuco/prettier-config
prettier prettier-config
Last synced: 18 days ago
JSON representation
My personal prettier config
- Host: GitHub
- URL: https://github.com/darwintantuco/prettier-config
- Owner: darwintantuco
- License: mit
- Created: 2019-07-15T04:13:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T16:50:29.000Z (over 4 years ago)
- Last Synced: 2024-10-09T19:04:17.320Z (30 days ago)
- Topics: prettier, prettier-config
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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`
```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