.pre-commit-config.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ci:
  2. # skip any check that needs internet access
  3. skip: [check-jsonschema, prettier, eslint, integrity]
  4. repos: []
  5. # - repo: https://github.com/pre-commit/pre-commit-hooks
  6. # rev: v4.2.0
  7. # hooks:
  8. # - id: forbid-new-submodules
  9. # - id: check-case-conflict
  10. # - id: requirements-txt-fixer
  11. # - id: check-added-large-files
  12. # - id: check-case-conflict
  13. # - id: debug-statements
  14. # - repo: https://github.com/sirosen/check-jsonschema
  15. # rev: 0.14.2
  16. # hooks:
  17. # - id: check-jsonschema
  18. # name: 'Check GitHub Workflows'
  19. # files: ^\.github/workflows/
  20. # types: [yaml]
  21. # args: ['--schemafile', 'https://json.schemastore.org/github-workflow']
  22. # - repo: local
  23. # hooks:
  24. # - id: prettier
  25. # name: prettier
  26. # entry: 'npm run prettier:files'
  27. # language: node
  28. # types_or: [json, markdown, ts, tsx, javascript, jsx, css]
  29. # - id: eslint
  30. # name: eslint
  31. # entry: 'npm run eslint:files'
  32. # language: node
  33. # types_or: [ts, tsx, javascript, jsx]
  34. # - id: integrity
  35. # name: integrity
  36. # entry: 'npm run integrity --force'
  37. # language: node
  38. # stages: [push]