forked from GAMS-dev/miro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
26 lines (26 loc) · 1014 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: end-of-file-fixer
exclude: |
(?x)^(
src/tests/data/good-views.json|
src/tests/data/good-views2.json|
src/tests/data/bad-views.json|
src/tests/data/bad-views2.json|
src/tests/data/pivot-comp-views.json|
src/tests/shinytest/views_metadata_test-expected/views.json|
src/tests/shinytest/views_metadata_test-expected/views2.json|
src/tests/shinytest/views_import_test-expected/views.json|
src/www/skin_.*|
src/www/miro.*\.js.*
)$
- id: trailing-whitespace
- id: check-merge-conflict
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v2.3.2'
hooks:
- id: prettier
files: '^doc/.*\.html'
args: ['--ignore-path', 'doc/.prettierignore', '--config', 'doc/.prettierrc.json']