trailheadapps/dreamhouse-lwc

Fix lint-staged commit warning

pozil opened this issue · 0 comments

pozil commented

Problem: each commit to the project outputs this warning:
⚠ 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.

Fix: Current version of lint-staged automates git add action so we need to remove this from package.json:

"*": [
  "git add"
]