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

added: added lint-staged to allow linting runs when a file is staged. #401

Conversation

danditomaso
Copy link
Collaborator

This solves solves the issue of committing files in VSCode without staging them first, our pre-commit hook will lint/format the files, leading to more changes to commit after the initial commit. This change prevents that by linting/formatting any file moved into your git stage.

@danditomaso danditomaso requested a review from Hunter275 February 4, 2025 01:38
@Hunter275 Hunter275 merged commit 30158ca into meshtastic:master Feb 4, 2025
2 of 3 checks passed
@danditomaso danditomaso deleted the feat--add-formatting-linting-on-staging branch February 4, 2025 03:22
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