| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- exclude: ^(data/.*|.vscode/.*|node_modules/.*|)$
- repos:
- - repo: https://github.com/commitizen-tools/commitizen
- # Please run `pre-commit install --hook-type commit-msg` to check commit messages
- rev: v3.29.1
- hooks:
- - id: commitizen
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v5.0.0
- hooks:
- - id: check-yaml
- - id: check-json
- - id: check-toml
- - id: end-of-file-fixer
- - id: trailing-whitespace
- - id: detect-private-key
- - id: check-case-conflict
- - id: check-ast
- - id: check-added-large-files
- args: ["--maxkb=1000"]
- - id: check-merge-conflict
- args: [--assume-in-merge]
- # Integrate filename spell checking https://github.com/streetsidesoftware/cspell/issues/3063
- # currently using `make cspell-filenames` as a workaround.
- - repo: https://github.com/streetsidesoftware/cspell-cli.git
- rev: v8.13.3
- hooks:
- - id: cspell
- name: cspell
- additional_dependencies:
- - "@cspell/dict-de-ch"
- - "@cspell/dict-en-gb"
- args:
- - "lint"
- - "--show-suggestions"
- - "--no-must-find-files"
- - "--locale"
- - "en-GB,de-CH"
- - repo: local
- hooks:
- - id: redocly-lint
- name: redocly-lint
- language: system
- entry: make lint
|