@abinnovision/prettier-config
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

@abinnovision/prettier-config

Prettier config for all types of projects. The config mostly inherits the default Prettier config. This additionally comes with a .editorconfig, which is compatible with most editors.

Installation

yarn add --dev @abinnovision/prettier-config

EditorConfig

The EditorConfig is a small file in the root directory of your project called .editorconfig. It defines various code style options for the project. This packages comes with an opinionated version of this file.

To synchronize the .editorconfig file from this package use the following:

yarn sync-editorconfig

Optionally, you can put it into your postinstall hook to always keep in sync with the one defined in this project.

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

Readme

Keywords

none

Package Sidebar

Install

npm i @abinnovision/prettier-config

Weekly Downloads

378

Version

2.1.3

License

Apache-2.0

Unpacked Size

19.7 kB

Total Files

8

Last publish

Collaborators

  • wipeair