Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T12:49:26.000Z (about 6 years ago)
- Last Synced: 2024-10-13T08:05:02.740Z (about 1 month ago)
- Topics: cli, eslint, linter, prettier, prettier-eslint, semistandard, standard
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- 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)
[![npm version](https://badge.fury.io/js/prettier-std-cli.svg)](https://badge.fury.io/js/prettier-std-cli)
[![npm downloads](https://img.shields.io/npm/dm/prettier-std-cli.svg?style=flat-square)](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