-
Notifications
You must be signed in to change notification settings - Fork 36
/
.pre-commit-config.yaml
40 lines (40 loc) · 1.25 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
repos:
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.4
hooks:
- id: shellcheck
args: [--external-sources]
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.19.4
hooks:
- id: djlint-django
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.27.0
hooks:
- id: eslint
files: \.[jt]sx?$
args: [--fix]
types: [file]
additional_dependencies:
- "@typescript-eslint/[email protected]"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
hooks:
- id: prettier
files: integreat_cms/static/src
args: [--print-width=120, --tab-width=4]
- repo: local
hooks:
- id: translations
name: translations
description: Check if the translation file is up-to-date
entry: dev-tools/check_translations.sh
types_or: [python, html]
language: script
pass_filenames: false