-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.pre-commit-config.yaml
31 lines (31 loc) · 1017 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
exclude: ^docs/assets/|^src/app/fonts/
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.7
hooks:
- id: remove-crlf
- id: remove-tabs
exclude: ^docs/assets/
- repo: local
hooks:
- id: forbid-variables-starting-with-nb
name: Forbid nb-prefixed variables, use a Count suffix instead, cf. tech_docs/javascript.md
language: pygrep
entry: " nb[A-Z]"
files: \.js$
exclude: ^docs/assets/
- id: forbid-artifactory-in-package-lock
name: Forbid artifactory domain in package-lock.json resolved dependencies
language: pygrep
entry: artifactory
files: package-lock.json
- id: find-unused-i18n-strings
name: Find unused i18n strings
language: system
entry: ./list_unused_i18n.py
files: ^src/app/