@flywheel-jp/prettier-config

0.2.1 • Public • Published

@flywheel-jp/prettier-config

Shared Prettier config for FLYWHEEL.

npm version Publish

Installation

$ yarn add --dev @flywheel-jp/prettier-config

Usage

Once the @flywheel-jp/prettier-config package is installed, you can use it by specifying the package in the prettier section of your package.json.

{
    // ...
    "prettier": "@flywheel-jp/prettier-config"
}

Overwrite properties

If you need to overwrite some properties, import the file in a .prettierrc.js file and export the modifications, e.g:

module.export = {
    ...require("@flywheel-jp/prettier-config"),
    overrides: [
        {
            files: "legacy/**/*.js",
            options: {
                semi: true
            }
        }
    ]
}

In this case, you need to remove the prettier section from your package.json.

Release

Creating a new release automatically publishes a new version to npm. Everything automatically happens.

License

MIT © FLYWHEEL Inc.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @flywheel-jp/prettier-config

      Weekly Downloads

      4

      Version

      0.2.1

      License

      MIT

      Unpacked Size

      1.76 kB

      Total Files

      3

      Last publish

      Collaborators

      • fwbot
      • yuku-t