1.0.0 • Published 5 months ago

@combeenation/prettier-config v1.0.0

Weekly downloads
-
License
Apache 2.0
Repository
github
Last release
5 months ago

@combeenation/prettier-config

Combeenation Prettier config.

Usage

  • Install:
    $ npm i --save-dev @combeenation/prettier-config
  • Edit package.json:
    {
      // ...
      "prettier": "@combeenation/prettier-config"
    }
  • Remove existing prettier config files like .prettierrc.json etc.
  • Create .prettierignore which could look this this:
    build/
    node_modules/

Overwrite settings

This method does not offer a way to overwrite some properties from the shared configuration. In order to do so, one has to create a dedicated .prettierrc.js file and use node imports like this:

module.exports = {
  ...require("@combeenation/prettier-config"),
  semi: false,
};

Included plugins

This package comes with the following plugins pre-installed:

All options provided by those plugin can be adjusted using the method described above in section Overwrite settings.

1.0.0

5 months ago

1.0.0-rc1

5 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.3-rc1

2 years ago

0.0.3-rc2

2 years ago

0.0.2-rc1

2 years ago

0.0.2-rc2

2 years ago

0.0.1

2 years ago

0.0.1-rc1

2 years ago