41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
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: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
args:
|
|
- --allow-multiple-documents
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/markdownlint/markdownlint
|
|
rev: v0.15.0
|
|
hooks:
|
|
- id: markdownlint
|
|
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
|
|
rev: v1.0.6
|
|
hooks:
|
|
- id: gitlab-ci-linter
|
|
args:
|
|
- --project
|
|
- unboundsoftware/schemas-app
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
rev: v9.24.0
|
|
hooks:
|
|
- id: commitlint
|
|
stages: [ commit-msg ]
|
|
additional_dependencies: [ '@commitlint/config-conventional' ]
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
rev: v10.0.3
|
|
hooks:
|
|
- id: eslint
|
|
types: [ file ]
|
|
types_or: [ javascript, ts, vue ]
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
rev: v8.30.0
|
|
hooks:
|
|
- id: gitleaks
|
|
exclude: '^app/graphql/generated\.ts$'
|