https://github.com/hyperlink/prettier-semistandard
Prettier with Semistandard config
https://github.com/hyperlink/prettier-semistandard
Last synced: over 1 year ago
JSON representation
Prettier with Semistandard config
- Host: GitHub
- URL: https://github.com/hyperlink/prettier-semistandard
- Owner: hyperlink
- License: mit
- Created: 2017-05-19T19:25:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-23T15:41:44.000Z (almost 9 years ago)
- Last Synced: 2025-01-24T07:31:08.235Z (over 1 year ago)
- Language: JavaScript
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# prettier-semistandard [](https://circleci.com/gh/conqa/prettier-semistandard)
This tool combines the [prettier](https://github.com/jlongster/prettier) pretty-printer with the popular configuration-free [JavaScript Standard Style](http://standardjs.com/).
## API
```js
import format from 'prettier-semistandard';
import { readFileSync } from 'fs';
const source = readFileSync('index.js', 'utf8');
format(
source
).then(
console.log
);
```
## CLI
### Installation
```sh
$ yarn global add prettier-semistandard
```
### Usage
```sh
$ prettier-semistandard --help
Usage
$ prettier-semistandard [ ...]
Examples
$ prettier-semistandard
$ prettier-semistandard index.js
$ prettier-semistandard foo.js bar.js
$ prettier-semistandard index.js src/**/*.js
```