Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bgotink/prettier-plugin-json-formats
- Owner: bgotink
- License: mit
- Created: 2019-12-22T21:01:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T21:24:32.000Z (over 1 year ago)
- Last Synced: 2024-10-13T13:29:12.299Z (2 months ago)
- Topics: prettier, prettier-plugin
- Language: TypeScript
- Size: 309 KB
- Stars: 0
- 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/