Skip to content

Latest commit

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

@abinnovision/prettier-config

Shared Prettier config with an opinionated .editorconfig.

Installation

yarn add --dev @abinnovision/prettier-config prettier

Usage

Reference the config in your package.json:

{
  "prettier": "@abinnovision/prettier-config"
}

EditorConfig

Sync the bundled .editorconfig into your project:

yarn sync-editorconfig

Optionally add it to your postinstall hook to keep it in sync automatically:

{
  scripts: {
    postinstall: "sync-editorconfig",
  },
}

License

Apache-2.0