Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add husky and lint-staged to run prettier before commit #30

Merged
merged 1 commit into from
May 23, 2022

Conversation

neko-mamushi
Copy link
Contributor

Also adds a11y plugin for a static accessibility check with the recommended rules turned on.

@vercel
Copy link

vercel bot commented May 23, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
web ✅ Ready (Inspect) Visit Preview May 23, 2022 at 7:09PM (UTC)

@@ -56,7 +56,7 @@ export default function Nav({

{showBackButton && (
<Link href={`/politicians`} passHref>
<a aria-label="Go back">
<a href={`/politicians`} aria-label="Go back">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was needed due to a stupid issue - jsx-eslint/eslint-plugin-jsx-a11y#402

@neko-mamushi neko-mamushi requested a review from wileymc May 23, 2022 21:53
Copy link
Contributor

@wileymc wileymc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just did something similar at the day job. thanks for adding all this, this repo is really setup for success!

@neko-mamushi neko-mamushi merged commit f3a72a6 into main May 23, 2022
@neko-mamushi neko-mamushi deleted the sr-prettier branch May 23, 2022 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants