Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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