generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
29 lines (29 loc) · 907 Bytes
/
.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
# 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: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
hooks:
- id: prettier
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.3.0
hooks:
- id: check-github-workflows
- id: check-github-actions
- id: check-jsonschema
name: "Validate Example Workflows"
language: python
files: ^example-workflows/
types: [yaml]
args: ["--schemafile", "https://json.schemastore.org/github-workflow"]
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.12
hooks:
- id: shellcheck