forked from jason-h-35/godot-ci-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
24 lines (23 loc) · 1005 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-added-large-files # Prevent giant files from being committed
- id: check-byte-order-marker # Prevents weird UTF-8 encoding edge cases
- id: check-case-conflict # Check if case-insensitive filesystems would bork
- id: check-docstring-first # Check for if docstring was misplaced
- id: check-executables-have-shebangs
- id: check-json # checks for vaild json
- id: check-merge-conflict # checks strings that look like a committed merge conflict
- id: check-xml
- id: check-yaml # checks for valid yaml
- id: end-of-file-fixer # checks for ending with a newline
- id: mixed-line-ending # consistent LF or CRLF
- id: trailing-whitespace # no trailing whitespace
- repo: https://github.com/Scony/godot-gdscript-toolkit
rev: master
hooks:
- id: gdlint
exclude: addons/*
# - id: gdformat
# exclude: addons/*