PromucFlow_constructor/app/client/.husky
Valera Melnikov 2f973d2e98
fix:lint staged (#27992)
## Description

1. Optimise `lint-staged` scripts so that they are not executed twice.
For some patterns, I removed the `prettier` checks since they are
executed by`eslint` checks as well.
2. Add caching for all scripts.
3. Optimisation of the `git secrets`, now we check only staged files.
Earlier we checked all the files that `git ls-files` returns. [Here more
about this.](https://github.com/awslabs/git-secrets#options-for-scan).
2023-10-12 20:35:54 +03:00
..
check-staged-files.sh fix:lint staged (#27992) 2023-10-12 20:35:54 +03:00
pre-commit fix: fixes for running checks on pre-commit for BE and FE separately (#25319) 2023-07-12 10:12:28 +03:00