You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
content is removed from .prettierignore
new json files created by the CMS don't fail linting
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
The text was updated successfully, but these errors were encountered:
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
content
is removed from.prettierignore
Ideas
There's two primary avenues here:
The text was updated successfully, but these errors were encountered: