a11y-theme-builder icon indicating copy to clipboard operation
a11y-theme-builder copied to clipboard

[TB] Add pre-commit hook to enforce prettier, linting

Open aaronreed708 opened this issue 7 months ago • 9 comments

Problem/Concern

Stemming from https://github.com/finos/a11y-theme-builder/pull/948#issuecomment-2200477209, it was suggested that we should have a pre-commit hook in Theme Builder to enforce Prettier formatting and linting so that we know that code being sent for code review won't have to spend much time on formatting issues.

Proposed Solution

Create a pre-commit hook so that committed code will have the correct formatting and linting.

aaronreed708 avatar Jul 13 '24 02:07 aaronreed708