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(package.json): remove 'git add' command in 'lint-staged' configuration #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sukvvon
Copy link
Contributor

@sukvvon sukvvon commented Mar 5, 2025

Description

This PR removes the redundant git add command from the lint-staged configuration. Since lint-staged automatically works with files that are already staged, adding git add after running prettier and eslint is unnecessary.

Changes

  • Removed the git add command from the lint-staged configuration.

Why?

  • git add is not needed in this context because lint-staged operates on files that are already staged.
  • This simplifies the configuration and avoids redundant operations.

@sukvvon sukvvon changed the title chore(lint-staged): simplify 'lint-staged' configuration chore(package.json): simplify 'lint-staged' configuration Mar 5, 2025
@sukvvon sukvvon force-pushed the chore/remove-git-add-from-lint-staged branch from ec9838c to f9fb492 Compare March 5, 2025 04:24
@sukvvon sukvvon changed the title chore(package.json): simplify 'lint-staged' configuration chore(package.json): remove 'git add' command in 'lint-staged' configuration Mar 5, 2025
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