-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
47 lines (43 loc) · 1.49 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
41
42
43
44
45
46
47
repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.18.1
hooks:
- id: ggshield
language_version: python3
stages: [commit]
# - repo: https://github.com/pre-commit/mirrors-jshint
# rev: '' # Use the sha / tag you want to point at
# hooks:
# - id: jshint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.0.3' # Use the sha / tag you want to point at
hooks:
- id: prettier
exclude: |
(?x)^(
.github/.*|
src/config/.*|
src/CHANGELOG.md|
src/config/.*|
changelog.md
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: detect-private-key
- repo: https://github.com/pre-commit/mirrors-eslint
rev: 'v8.48.0' # Use the sha / tag you want to point at
hooks:
- id: eslint
additional_dependencies:
- eslint@8.47.0
- eslint-config-airbnb-base@15.0.0
- eslint-config-prettier@9.0.0
- eslint-formatter-table@7.32.1
- eslint-plugin-html@7.1.0
- eslint-plugin-import@2.28.1
- eslint-plugin-prettier@5.0.0