Open gaoyikeshuer opened 1 year ago
came across Skipping backup because there’s no initial commit yet
Kinda understand the error. because you don't understand what staged files are.
In this case:
"lint-staged": { "src/*/.{js,ts,tsx}": [ "yarn prettier:fix", "yarn lint" ]
only when js file, ts file and tsx file changed, the error "No staged files match any configured task" will disappear.
Potential solution: