# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md

# pre-push:
#   commands:
#     frontend-v2-audit:
#       tags: frontend security
#       run: cd frontend/app_v2 && npm audit

pre-commit:
  parallel: true
  commands:
    frontend-v2-linter:
      files: git diff --name-only @{push} frontend/app_v2
      glob: '*.{js,ts,jsx,tsx}'
      run: npx eslint {files}

# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md

# pre-push:
#   commands:
#     frontend-v2-audit:
#       tags: frontend security
#       run: cd frontend/app_v2 && npm audit

# pre-commit:
#   parallel: true
#   commands:
#     frontend-v2-linter:
#       files: git diff --name-only @{push} frontend/app_v2
#       glob: '*.{js,ts,jsx,tsx}'
#       run: npx eslint {files}

Disable Lefthook on V2 - needs updating
Disable Lefthook on V2 - needs updating