11:33 AM Commit failed with error
0 files committed, 2 files failed to commit: #163 check linter v2
⚠ 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.
https://github.com/okonet/lint-staged#v10
From v10.0.0 onwards any new modifications to originally staged files will be automatically added to the commit. If your task previously contained a git add step, please remove this. The automatic behaviour ensures there are less race-conditions, since trying to run multiple git operations at the same time usually results in an error.
C 10-й версии линтера строчка git add в package.json больше не нужна. Нужно ее убить (в данный момент у нас 11-я версия).
https://github.com/okonet/lint-staged#v10
C 10-й версии линтера строчка
git addвpackage.jsonбольше не нужна. Нужно ее убить (в данный момент у нас 11-я версия).