Home

Awesome

prettier-std-cli

Standalone CLI for standard-prettier-eslint

npm version npm downloads

Formats your JavaScript using prettier followed by standard --fix

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 prefer semicolons use semistandard version

Contributing

License

MIT