.pre-commit-config.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. default_language_version:
  2. node: system
  3. python: python3
  4. repos:
  5. - repo: https://github.com/astral-sh/ruff-pre-commit
  6. rev: v0.14.8
  7. hooks:
  8. - id: ruff-check
  9. args: [--fix]
  10. - id: ruff-format
  11. - repo: https://github.com/pre-commit/mirrors-prettier
  12. rev: v3.7.4
  13. hooks:
  14. - id: prettier
  15. types_or: [css, scss, javascript, ts, tsx, json, yaml]
  16. - repo: https://github.com/pre-commit/mirrors-eslint
  17. rev: v9.39.1
  18. hooks:
  19. - id: eslint
  20. types: [file]
  21. files: \.(js)$
  22. args: [--report-unused-disable-directives]
  23. additional_dependencies:
  24. - eslint@9.39.1
  25. - '@eslint/js@9.39.1'
  26. - globals@16.5.0
  27. - repo: https://github.com/thibaudcolas/pre-commit-stylelint
  28. rev: v16.26.1
  29. hooks:
  30. - id: stylelint
  31. files: \.css$
  32. additional_dependencies:
  33. - stylelint@16.26.1
  34. - stylelint-config-standard@39.0.1
  35. - repo: https://github.com/rtts/djhtml
  36. rev: 3.0.6
  37. hooks:
  38. - id: djhtml