0.6.2 • Published 2 years ago

@kapeta/prettier-config v0.6.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Shared Prettier configuration

This shared Prettier configuration changes some of the default options.

Integrate into new project

  1. Install this package as a devDependency

    # with Yarn
    $ yarn add -D @kapeta/prettier-config
    
    # with npm
    $ npm i -D @kapeta/prettier-config
    
    # with pnpm
    $ pnpm add -D @kapeta/prettier-config
  2. Install peer dependencies of this package in your project as devDependencies

    You can make use of the tool install-peerdeps:

    # with Yarn
    $ yarn dlx install-peerdeps --dev @kapeta/prettier-config
    
    # with npm
    $ npx install-peerdeps --dev @kapeta/prettier-config
    
    # with pnpm
    $ pnpm dlx install-peerdeps --dev @kapeta/prettier-config
  3. Use Prettier config in your project

    Simply add the following line to your package.json file:

    "prettier": "@kapeta/prettier-config"`

    Or alternatively create a .prettierrc file in project root with the following content:

    "@kapeta/prettier-config"
0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.6

2 years ago