1.0.1 • Published 1 year ago

@megamatt/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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 Yarn
$ yarn add -D @megamatt/prettier-config

# with npm
$ npm i -D @megamatt/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 @megamatt/prettier-config

# with npm
$ npx install-peerdeps --dev @megamatt/prettier-config
  1. Use Prettier config in your project

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

"@megamatt/prettier-config"
1.0.1

1 year ago

1.0.0

1 year ago