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

Use lint-staged and eslint --fix #349

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

justinlampley
Copy link
Collaborator

  • Change husky's pre-commit hook to use lint-staged so eslint is only ran against the staged files instead of the whole project and also have eslint automatically fix the errors it can
  • Add a new script lint:fix that runs eslint --fix
  • Automatically run lint:fix after graphql-codegen to fix the formatting of the generated files

@jurgelenas jurgelenas merged commit 15c9d70 into ExpressLRS:master Jun 29, 2022
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