JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 116
  • Score
    100M100P100Q76235F
  • License MIT

Setup prettier and commit hooks automatically

Package Exports

  • prettifier

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Prettifier

Get started with prettier with just one command.

$ npm install -g prettifier
$ prettifier

Screenshot

What does prettifier do?

It is simple. Prettifier will get you setup with prettier in no sweat.

In order to do that this generator will:

Installs Prettier

Sets up a commit hook with husky and lint-staged

So you can make sure all code gets run through prettier before a change is commited.

  • husky - Git hooks made easy
  • lint-staged - Runs linters against staged git files

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nettofarah/prettifier. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Code of Conduct.

License

The module is available as open source under the terms of the MIT License.