0.1.3 • Published 3 years ago

@jamtastic/prettier-config v0.1.3

Weekly downloads
-
License
Unlicense
Repository
github
Last release
3 years ago

Jamtastic! Prettier config

Automatically format your code so it aligns with Jamtastic! style guides. For full details, visit the Jamtastic! Developer Guide.

code style: prettier npm version weekly downloads from npm


Quick Guide (tl;dr)

Using Visual Studio Code? Awesome 😎✨

  1. Download the Prettier extension
  2. Open Settings in VSCode ( Ctl/Cmd + , by default )
  3. Update the following settings:
// Prettier only runs if a config file is available (sane!)
prettier.requireConfig: true

// Auto-format = compliant commits = no stress for everyone
editor.formatOnSave: true

Now install the config package(s):


Just need the Jamtastic! Prettier config?

npm i -D @jamtastic/prettier-config

Manually add this to your package.json file:

// ...
"prettier": "@jamtastic/prettier-config"
// ...

Want to use the full Jamtastic! coding standards?

npm i -D @jamtastic/standards

This package has a postinstall script that will try to automatically configure your project, including git hooks and more.

For more information, check out the @jamtastic/standards package.

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago