https://github.com/bysabi/prettier-std-cli
Standalone CLI for prettier -> standard --fix -> Formatted Code
https://github.com/bysabi/prettier-std-cli
cli eslint linter prettier prettier-eslint semistandard standard
Last synced: 5 months ago
JSON representation
Standalone CLI for prettier -> standard --fix -> Formatted Code
- Host: GitHub
- URL: https://github.com/bysabi/prettier-std-cli
- Owner: bySabi
- License: mit
- Created: 2017-07-05T12:35:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T12:49:26.000Z (about 7 years ago)
- Last Synced: 2025-07-07T07:03:19.945Z (5 months ago)
- Topics: cli, eslint, linter, prettier, prettier-eslint, semistandard, standard
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prettier-std-cli
Standalone CLI for [standard-prettier-eslint](https://github.com/bySabi/standard-prettier-eslint)
[](https://badge.fury.io/js/prettier-std-cli)
[](https://www.npmjs.com/package/prettier-std-cli)
Formats your JavaScript using [`prettier`](https://github.com/jlongster/prettier) followed by [`standard --fix`][standard]
* [prettier](https://github.com/prettier/prettier) is a wonderful tool for code prettify.
* [standard][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
```json
"scripts": {
...
"lint": "standard --verbose | snazzy",
"format": "prettier-std --write '**/*.js'"
}
```
### If you prefer `semicolons` use **semistandard** version
* [prettier-semi-cli](https://github.com/bySabi/prettier-semi-cli)
## Contributing
* Documentation improvement
* Feel free to send any PR
## License
[MIT][mit-license]
[mit-license]:./LICENSE
[standard]: https://github.com/standard/standard