-
-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy path.pre-commit-config.yaml
39 lines (35 loc) · 1.17 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: ^lizmap/app/overloads|lizmap/app/themes|lizmap/www/assets/
- id: end-of-file-fixer
exclude: ^lizmap/app/overloads|lizmap/app/themes|lizmap/www/assets/
- id: check-yaml
- id: check-docstring-first
- id: check-merge-conflict
- id: mixed-line-ending
- id: check-added-large-files
- repo: https://github.com/thibaudcolas/pre-commit-stylelint
rev: v16.14.1
hooks:
- id: stylelint
args: [--fix]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.20.1
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [ file ]
additional_dependencies:
# - repo: local
# hooks:
# - id: php-cs-fixer
# name: PHP CS Fixer
# # To match value in Makefile
# entry: oskarstark/php-cs-fixer-ga:3.26.0 --allow-risky=yes --config=.php-cs-fixer.dist.php
# language: docker_image