1.0.0 • Published 2 years ago

@combeenation/prettier-config v1.0.0

Weekly downloads
-
License
Apache 2.0
Repository
github
Last release
2 years 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

2 years ago

1.0.0-rc1

2 years ago

0.0.5

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.3-rc1

3 years ago

0.0.3-rc2

3 years ago

0.0.2-rc1

3 years ago

0.0.2-rc2

3 years ago

0.0.1

3 years ago

0.0.1-rc1

3 years ago