forked from mozilla/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
29 lines (29 loc) · 998 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
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: e306ff3b7d0d9a6fc7d128ef9ca2e0b6e6e76e8f
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: trailing-whitespace
- id: flake8
exclude: "\
(.*migrations.*)|\
(configs/vagrant/settings_local.py)|\
(docs/.*)|\
(kitsune/settings.*)|\
(kitsune/sumo/db_strings.py)|\
(scripts/contributor_counts.py)|\
(scripts/crontab/gen-crons.py)|\
(scripts/sprint_report.py)|\
(scripts/year_in_review.py)"
args: [--max-line-length=99]
- repo: git://github.com/pre-commit/mirrors-eslint
sha: 6a5749410dee3a4686e51a0db72767a5b9b9f68d
hooks:
- id: eslint
exclude: "\
(kitsune/sumo/static/sumo/js/libs/.*)|\
(scripts/lockdown.js)"