Skip to content

prevent formatting errors from being published #251

@interim17

Description

@interim17

Description

Formatting errors (already flagged by prettier) can break functionality on the admin page when published.

Expected Behavior

Errors/warnings flagged by prettier and linting tools should prevent publishing.

Tasks:

  • configure prettier in repo and define formatting scripts in package.json, one for a check and one for writing
  • define a gh action to run the check
  • format the whole repo according to config
  • optionally either have gh action run the formatting write script, or block merging to main when check fails

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions