1.1.1 • Published 3 years ago

@antlered-viking/prettier-config v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

@antlered-viking/prettier-config

PrettierRC, as configured by Antlered Viking


Usage

First install the package as a dev dependency:

npm install -D @antlered-viking/prettier-config
# or if you use yarn
yarn add -D @antlered-viking/prettier-config

Once the package finishes installing, it will automatically update your project so you can start using Prettier right away.

That's actually it! Now your project is set up to use this prettier configuration, and it has two new scripts in package.json: format and format:fix:

# NPM users
npm run format # run Prettier to check code styles
npm run format:fix # run Prettier to check code styles and fix issues
# Yarn users
yarn run format # run Prettier to check code styles
yarn run format:fix # run Prettier to check code styles and fix issues