Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bgotink/prettier-plugin-json-formats

Prettier plugin for certain JSON file formats
https://github.com/bgotink/prettier-plugin-json-formats

prettier prettier-plugin

Last synced: about 1 month ago
JSON representation

Prettier plugin for certain JSON file formats

Awesome Lists containing this project

README

        

# prettier-plugin-json-formats

This [prettier][prettier] plugin contains rules for formatting specific JSON file formats.

To use this package, install it using

```bash
yarn add -D prettier-plugin-json-formats
```

and configure prettier to use the formats you want.

- Package.json files:

```yml
overrides:
- files: package.json
options:
parser: package-json
```

- Angular CLI workspace files:

```yml
overrides:
- files: angular.json
options:
parser: angular-cli
```

## License

Available under an MIT license.

[prettier]: https://prettier.io/