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: 6 months ago
JSON representation
Prettier plugin for certain JSON file formats
- Host: GitHub
- URL: https://github.com/bgotink/prettier-plugin-json-formats
- Owner: bgotink
- License: mit
- Created: 2019-12-22T21:01:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T21:24:32.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T11:46:01.611Z (6 months ago)
- Topics: prettier, prettier-plugin
- Language: TypeScript
- Size: 309 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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/