Description
The CMS produces json files that don't match the way prettier wants our json to be formatted. We would like to keep linting all our json files with prettier, so we need to have prettier run on the CMS output.
Why this is valuable:
Linting json files is good for collaboration ✨ The content files in may end up being high churn (and edited via both the CMS - and via clis / text editors), so its particularly useful to have linting active there.
Acceptance Criteria
Ideas
There's two primary avenues here:
- you lint pre-commit via some sort of hook in the CMS
- you lint post-push via a github hook
Description
The CMS produces json files that don't match the way prettier wants our json to be formatted. We would like to keep linting all our json files with prettier, so we need to have prettier run on the CMS output.
Why this is valuable:
Linting json files is good for collaboration ✨ The content files in may end up being high churn (and edited via both the CMS - and via clis / text editors), so its particularly useful to have linting active there.
Acceptance Criteria
contentis removed from.prettierignoreIdeas
There's two primary avenues here: