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 lint:changed and lint:changed:fix #234

Merged
merged 1 commit into from
Mar 2, 2024
Merged

Conversation

mcmire
Copy link
Collaborator

@mcmire mcmire commented Mar 2, 2024

The Git hook that runs on push will only lint files changed within the current branch. However, it won't fix anything; to do that, you'll have to run yarn lint:fix. But actually, this runs every file through the linter, so it's fairly inefficient. This commit adds lint:changed and lint:changed:fix so that you can do the same thing that the Git hook does.

The Git hook that runs on push will only lint files changed within the
current branch. However, it won't fix anything; to do that, you'll have
to run `yarn lint:fix`. But actually, this runs every file through the
linter, so it's fairly inefficient. This commit adds `lint:changed` and
`lint:changed:fix` so that you can do the same thing that the Git hook
does.
Copy link

github-actions bot commented Mar 2, 2024

📖 A new version of the docsite has been published at: https://mcmire.github.io/super_diff/branches/add-lint-changed-script/316a72be7f163da1e0fcded180bd1d8da83a5948

@mcmire mcmire merged commit caa72ab into main Mar 2, 2024
33 checks passed
@mcmire mcmire deleted the add-lint-changed-script branch March 2, 2024 06:53
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.

1 participant