Closed pustovalov closed 2 years ago
@pustovalov
Fixed in release 0.4.5 Need to check
Thx, works good
yarn run v1.22.17
$ /Users/pavel/t/main/node_modules/.bin/nano-staged
Nano Staged v0.4.5
- Preparing pipeliner...
» Done backing up original repo state.
- Running tasks...
*.scss | SKIPPED | no files matching the pattern were found.
*.{js,jsx,ts,tsx} | FAILED | eslint --fix
*.{js,jsx,ts,tsx} | SKIPPED | stylelint --config '.stylelint_css_in_js.js' --syntax scss
- Restoring to its original state...
» Done restoring up to its original state.
- Removing patch files...
» Done removing up patch files.
eslint --fix:
/Users/pavel/t/main/app/javascript/__tests__/sites/reports/loyalty/loyalty_members_report/loyalty_member_details/loyalty_member_details_render.test.js
442:12 error Do not access a member directly from an await expression unicorn/no-await-expression-member
✖ 1 problem (1 error, 0 warnings)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
husky - pre-commit hook exited with code 1 (error)
Hey, is it possible to improve the message
nano-staged
produces? When a user uses a git client that doesn't support colors, the message looks unreadableTower git client
lint-staged
:nano-staged
:Git console
lint-staged
:nano-staged