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

chore: update lint-staged config #739

Merged
merged 1 commit into from
Aug 9, 2024
Merged

chore: update lint-staged config #739

merged 1 commit into from
Aug 9, 2024

Conversation

matijs
Copy link
Member

@matijs matijs commented Aug 9, 2024

Use lint-staged.config.cjs instead of .lint-stagedrc.json.

Since lint-staged will only run tools for matching targets so the command line options to deal with empty targets are never needed.

Run prettier --write for all files that Prettier can autofix. These fixes are added to the same commit instead of resulting in a new commit.

@matijs matijs requested review from Robbert and bddjong August 9, 2024 12:33
Copy link

vercel bot commented Aug 9, 2024

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

Name Status Preview Comments Updated (UTC)
example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2024 1:02pm

Use `lint-staged.config.cjs` instead of `.lint-stagedrc.json`.

Run `prettier --write` for all files that Prettier can autofix. These
fixes are added to the same commit instead of resulting in a new commit.
@matijs matijs merged commit dcccac1 into main Aug 9, 2024
8 checks passed
@matijs matijs deleted the build/lint-staged branch August 9, 2024 13:05
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.

2 participants