Files
classquiz-ai/.pre-commit-config.yaml
T
2022-09-18 11:28:28 +02:00

25 lines
746 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
# - id: check-added-large-files
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.0.0-alpha.0' # Use the sha / tag you want to point at
hooks:
- id: prettier
files: "^frontend/"
exclude: "^frontend/src/lib/i18n/locales/"
additional_dependencies:
- "prettier-plugin-svelte@latest"
- "prettier@latest"