Skip to content

chore: Add pre-commit hook to run broken link check and format#32

Open
seanpoulter wants to merge 1 commit intojetify-com:mainfrom
seanpoulter:prettier
Open

chore: Add pre-commit hook to run broken link check and format#32
seanpoulter wants to merge 1 commit intojetify-com:mainfrom
seanpoulter:prettier

Conversation

@seanpoulter
Copy link
Contributor

This PR adds a precommit hook to run the broken link check (nppm run lint) and format the staged files (pnpx lint-staged). This is set up using prettier's recommended pre-commit hook with lint-staged. The .mdx? files are split into a separate line in the lint-staged configuration so we can add the Edit this page links next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant