-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (36 loc) · 1.03 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
38 lines (36 loc) · 1.03 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
---
repos:
# === YAML ===
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
hooks:
- id: yamllint
files: \.(yml|yaml)$
# === Markdown ===
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.20.0
hooks:
- id: markdownlint-cli2
args: ["--config", ".markdownlint-cli2.yaml"]
files: \.md$
# === .env ===
- repo: https://github.com/dotenv-linter/dotenv-linter
rev: v4.0.0
hooks:
- id: dotenv-linter
args: [check, "--ignore-checks", "UnorderedKey"]
files: (^|/)\.env
# === Ignition View.json files ===
# - repo: local
# hooks:
# - id: ignition-lint
# name: Ignition Lint
# entry: ignition-lint
# language: python
# types: [json]
# files: view\.json$
# args: ['--config=rule_config.json']
# # , '--files', '--warnings-only']
# pass_filenames: true
# additional_dependencies:
# - 'git+https://github.com/bw-design-group/ignition-lint@v0.4.0'