Skip to content

Standalone CLI for prettier -> semistandard --fix -> Formatted Code

License

Notifications You must be signed in to change notification settings

bySabi/prettier-semi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-semi-cli

Standalone CLI for semistandard-prettier-eslint

npm version npm downloads

Formats your JavaScript using prettier followed by semistandard --fix

  • prettier is a wonderful tool for code prettify.
  • semistandard 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-semi-cli -g

Usage

Ex: package.json

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

If you don't like semicolons use standard version

Contributing

  • Documentation improvement
  • Feel free to send any PR

License

MIT