1.0.2 • Published 6 years ago
@tomera/prettier-config v1.0.2
Prettier Config
My Prettier configuration!
Install
Install with yarn
:
$ yarn add -D @tomera/prettier-config prettier
Or with npm
:
$ npm i -D @tomera/prettier-config prettier
Usage
Set the "prettier"
field of your package.json
to @tomera/prettier-config
:
package.json
{
"prettier": "@tomera/prettier-config"
}
Run prettier
with the supported options.
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Development
Setup
- Clone the repository:
- SSH:
$ git clone git@github.com:TomerAberbach/prettier-config.git
- HTTPS:
$ git clone https://github.com/TomerAberbach/prettier-config.git
- SSH:
- Change your current working directory to the newly created
prettier-config
directory:$ cd prettier-config
- Install dependencies:
- Yarn:
$ yarn install
- NPM
$ npm i
- Yarn:
Linting
Run yarn lint
or npm run lint
.
Building
Run yarn build
or npm run build
.
Author
Tomer Aberbach
License
Copyright © 2020 Tomer Aberbach Released under the MIT license.