1.0.0 • Published 8 months ago

@jlcara/prettier-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Shared Prettier configuration

This shared Prettier configuration changes some of the default behavior.

Integrate into new project

  1. Install this package as devDependency
# with npm
$ npm i -D @jlcara/prettier-config

# with pnpm
$ pnpm add -D @jlcara/prettier-config
  1. Install peer dependencies of this package in your project as devDependencies

Therefore, you can make use of the tool install-peerdeps:

# with Yarn
$ yarn dlx install-peerdeps --dev @jlcara/prettier-config

# with npm
$ npx install-peerdeps --dev @jlcara/prettier-config

#with pnpm
$ pnpm dlx install-peerdeps --dev @jlcara/prettier-config
  1. Use Prettier config in your project

Create a .prettierrc file in project root with the following content:

"@jlcara/prettier-config"
1.0.0

8 months ago