creativecommons / creativecommons/ccos-website-source
[Content] add JSON linting (automatic formatting) to JavaScript Guidelines
- Dominant language
- CSS
- Stars
- 99
- Forks
- 190
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
There is not currently a consistent method by which to lint JSON across repositories
## Description
The least intrusive route would be to create a singular repository with the right linting setup, and then a GH Action that would run, grabbing the config from that repo and applying the linting to various repos as part of a workflow.
This could be documented in the Guidelines, however if it was seamless enough it might not be necessary to be a part of the Guidelines and could instead run "behind the scenes" on trigger.
## Alternatives
* utlize `npm-package-json-lint` directly within repo
## Additional context
- [JavaScript Guidelines — Creative Commons Open Source](https://opensource.creativecommons.org/contributing-code/javascript-guidelines/)
Contributor guide
Assessment
This issue has not been assessed yet.