1.12.0 • Published 4 months ago

@kuzanatoliorg/prettier-config v1.12.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@kuzanatoliorg/prettier-config

Shared configuration to use a prettier library into the scope of @kuzantoliorg projects.

Precondition

The package requires the installation of the prettier package

Usage

Install:

npm

npm install @kuzanatoliorg/prettier-config --save-dev

yarn

yarn add @kuzanatoliorg/prettier-config --dev

Usage:

In case you don't have configuration the following .prettierrc.js configuration will be generated into the repository:

module.exports = {
  ...require("@kuzanatoliorg/prettier-config"),
};

Note: Script check only .json or .js config files and config into package.json.

For manual set-up, it is possible to add a link to package.json

{
  // ...
  "prettier": "@kuzanatoliorg/prettier-config"
}

or import into the js config file

module.exports = {
  ...require("@kuzanatoliorg/prettier-config"),
  // Overided rules
};

Note: Only js configuration allows overriding rules.

1.12.0

4 months ago

1.11.0

6 months ago

1.10.0

8 months ago

1.9.0

8 months ago

1.8.0

8 months ago

1.7.0

8 months ago

1.6.0

8 months ago

1.5.0

8 months ago

1.4.0

8 months ago

1.3.0

8 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago

0.4.0

10 months ago

0.3.0

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago

0.0.0

10 months ago