summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: ad58271cadb56da693e78222b80731dc3635a05a (plain)
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
48
49
50
51
52
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v2.3.0
  hooks:
  - id: check-case-conflict
  - id: check-byte-order-marker
  - id: check-merge-conflict
  - id: check-yaml
  - id: check-json
  - id: check-xml
  - id: mixed-line-ending
  - id: end-of-file-fixer
    stages:
    - commit
    - manual
  - id: trailing-whitespace
    stages:
    - commit
    - manual
  - id: no-commit-to-branch
- repo: https://github.com/pre-commit/mirrors-eslint
  rev: v6.8.0
  hooks:
  - id: eslint
    args: [--fix]
    stages:
    - commit
    - manual
- repo: git://github.com/doublify/pre-commit-clang-format
  rev: master
  hooks:
  - id: clang-format
    stages:
    - commit
    - manual
- repo: local
  hooks:
  - id: qsscheck
    name: qsscheck
    description: Run qsscheck to detect broken QSS.
    entry: ./scripts/qsscheck.py
    args: [.]
    pass_filenames: false
    language: python
    additional_dependencies:
    - tinycss==0.4
    types: [text]
    files: ^.*\.qss$
    stages:
    - commit
    - push
    - manual