@rhumbertgz/prettier-config

0.0.1 • Public • Published

Shared Prettier configuration

This shared Prettier configuration changes some of the default behavior.

Integrate into new project

  1. Install this package as devDependency
# yarn
$ yarn add -D @rhumbertgz/prettier-config

# npm
$ npm i -D @rhumbertgz/prettier-config

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

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

# yarn
$ yarn dlx install-peerdeps --dev @rhumbertgz/prettier-config

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

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

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

"@rhumbertgz/prettier-config"

Readme

Keywords

none

Package Sidebar

Install

npm i @rhumbertgz/prettier-config

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

1.48 kB

Total Files

3

Last publish

Collaborators

  • rhumbertgz