codeflash-internal/lefthook.yml
Sarthak Agarwal 761903c2a9
saga4 misc fixes (#2018)
- **misc fixes [VSC]**
- **misc lefthook**

# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-14 20:23:58 -08:00

13 lines
460 B
YAML

pre-commit:
parallel: true
commands:
secret-scan:
glob: "*"
exclude: "node_modules/**|venv/**|.venv/**|__pycache__/**|dist/**|build/**"
run: "./node_modules/.bin/secretlint {staged_files} --maskSecrets --secretlintrc ./secretlint.config.js"
# js-lint:
# runner: "node"
# glob: "*.js"
# exclude: "node_modules/**|build/**|dist/**"
# command: "./node_modules/.bin/eslint {staged_files} --ignore-path .gitignore"