6.0.0 • Published 4 years ago

@osdevisnot/prettier v6.0.0

Weekly downloads
68
License
MIT
Repository
github
Last release
4 years ago

@osdevisnot/prettier

Sensible Code Formatting Setup in One Command

$ yarn add --dev @osdevisnot/prettier

or

npm install --save-dev @osdevisnot/prettier

What

Setup prettier, husky and pretty-quick just by installing @osdevisnot/prettier

Uses postinstall scripts to automatically configure the project.

How

  • This package brings in prettier, husky, pretty-quick and prettier-plugin-packagejson as dependencies.
  • These dependencies are marked with * so that you always get latest versions for these dependencies.
  • When installed, we use a postinstall script to configure project with sensible defaults:

  • sets prettier property in package.json to @osdevisnot/prettier if not already defined

  • removes .prettierrc and prettier.config.js if these files exist
  • sets husky property in package.json to use pretty-quick on pre-commit (if not already defined) :
{ "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } } }
6.0.0

4 years ago

5.2.3

4 years ago

5.2.2

4 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.0

4 years ago

4.2.0

4 years ago

4.1.0

4 years ago

4.0.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago