Something like `eslint . --fix || true` or `eslint . --fix --max-warnings=-1` during lint-staged. `|| true` might not work on Windows though.