@calblueprint/prettier-config

0.0.1 • Public • Published

prettier-config

npm version

This package provides a shared Prettier configuration.

Usage

  1. Install this package as a development dependency:

    # with npm
    npm install --save-dev @calblueprint/prettier-config
    
    # with yarn
    yarn add --dev @calblueprint/prettier-config
  2. Install peer dependencies:

    # with npm or yarn
    npx install-peerdeps --dev @calblueprint/prettier-config
  3. Use the shared Prettier config in your project's .prettierrc.js:

    module.exports = {
      ...require('@calblueprint/prettier-config'),
      // Add any overrides here
    };

    Note: you may need to remove or merge any other existing prettier config files.

  4. Test that the config is working by running npx prettier --check . in your project's root directory.

Readme

Keywords

none

Package Sidebar

Install

npm i @calblueprint/prettier-config

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

1.9 kB

Total Files

3

Last publish

Collaborators

  • wangannie
  • ethanlee16
  • francogments
  • calblueprint-npm