1.0.0 • Published 7 years ago

prettier-std-cli v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

prettier-std-cli

Standalone CLI for standard-prettier-eslint

npm version npm downloads

Formats your JavaScript using prettier followed by standard --fix

  • prettier is a wonderful tool for code prettify.
  • standard is zero configuration pain tool based on ESLint.

The two packages are great and very well designed, that can be used together with a minimum effort

Installation

$ npm install prettier-std-cli -g

Usage

Ex: package.json

"scripts": {
  ...
  "lint": "standard --verbose | snazzy",
  "format": "prettier-std --write '**/*.js'"
}

If you don't like semicolons use semistandard version

Contributing

  • Documentation improvement
  • Feel free to send any PR

License

MIT