@doppelmutzi/prettier-config

1.0.0 • 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
# with Yarn
$ yarn add -D @doppelmutzi/prettier-config

# with npm
$ npm i -D @doppelmutzi/prettier-config

# with pnpm
$ pnpm add -D @doppelmutzi/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 @doppelmutzi/prettier-config

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

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

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

"@doppemlmutzi/prettier-config"

/@doppelmutzi/prettier-config/

    Package Sidebar

    Install

    npm i @doppelmutzi/prettier-config

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.4 kB

    Total Files

    3

    Last publish

    Collaborators

    • doppelmutzi