-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (44 loc) · 1.39 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
48 lines (44 loc) · 1.39 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
# Pre-commit configuration for common.itsumi Helm library chart
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
# General file formatting and linting
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-added-large-files
args: ["--maxkb=1024"]
- id: trailing-whitespace
exclude: '\.md$'
- id: end-of-file-fixer
exclude: '\.tgz$'
- id: check-yaml
args: ["--allow-multiple-documents"]
exclude: 'templates/.*\.yaml$|.*\.jinja$'
- id: check-json
- id: check-case-conflict
- id: check-symlinks
- id: detect-private-key
- id: fix-byte-order-marker
- id: mixed-line-ending
args: ["--fix=lf"]
# Helm-specific linting
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.30
hooks:
- id: helmlint
args: ["--values", "values.yaml"]
exclude: '^test/fixtures/'
# GitHub Actions linting
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
# Markdown linting
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.45.0
hooks:
- id: markdownlint
args: ["--fix", "--config", ".markdownlint.yaml"]
exclude: 'CHANGELOG\.md$|starter-template/.*\.md\.jinja$'