question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove "git add" commands from lint-staged

See original GitHub issue

I get this warning when committing:

@rjsf/core: ⚠ Some of your tasks use `git add` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
OlushesiToheebcommented, Nov 13, 2020

I’ll like to work on this @epicfaace

1reaction
ExplorerAadicommented, Oct 4, 2020

Okay, I will pick this up

Read more comments on GitHub >

github_iconTop Results From Across the Web

lint-staged: what the purpose of 'git add' command
lint -staged just changes your code and make it linting (It runs before commit by husky). After changed, you need add it again...
Read more >
Remove "git add" from configuration of lint-staged #270 - GitHub
Steps To Reproduce: Clone the trailheadapps/lwc-recipes; Try to commit any changes. Expected result. The pre-commit hook runs linting and tests ...
Read more >
Linting Staged Git Files with lint-staged -- newline - Fullstack.io
With lint-staged , executing the command git commit automatically runs the linter against files staged for commit.
Read more >
Remove `git add` in lint-staged commands · a175b65634 - hi3
Remove `git add` in lint-staged commands · 1 changed files · 1 additions · 2 deletions.
Read more >
Run ESLint on git commit with Husky and Lint Staged
Husky makes git hooks much more manageable because you don't have to write scripts for hooks manually. You can just add the command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found