-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
69 lines (69 loc) · 2.02 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
69 lines (69 loc) · 2.02 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
default_install_hook_types:
- pre-commit
- commit-msg
default_stages:
- pre-commit
fail_fast: true
exclude: boilerplate\..*|.*\.gen\..*|.*\.gotmpl$
repos:
- repo: local
hooks:
- id: commitlint
name: commitlint
entry: commitlint/commitlint:edge
args:
- --config=commitlint.config.ts
- --edit
- --strict
language: docker_image
pass_filenames: false
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-json
- id: check-xml
- id: check-yaml
args:
- --allow-multiple-documents
exclude: (config|helm)/.*\.(yaml|yml)
- id: check-symlinks
- id: trailing-whitespace
- id: end-of-file-fixer
- id: detect-private-key
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.6.2
hooks:
- id: prettier
files: \.(html|md|toml|yml|yaml)
args: [--prose-wrap=always]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: [--write-changes, --ignore-words-list, "aks,AKS"]
exclude: (go.*|.*\.svg$)
# - repo: https://github.com/thibaudcolas/pre-commit-stylelint
# rev: v16.21.1
# hooks:
# - id: stylelint
# args: [--fix]
# additional_dependencies:
# - stylelint
# - stylelint-config-standard
# - stylelint-scss
# - repo: local
# hooks:
# - id: hugo-build
# name: Build Hugo site
# entry: hugo
# args: [-M]
# language: system # Assumes hugo is in your system's PATH
# files: \.(md|html|toml|yaml|scss|js)$ # Only run if these file types change
# pass_filenames: false # The 'hugo build' command should be run without specific file arguments