summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-07-08 10:41:20 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-09-13 08:06:53 -0500
commit41a81f5360d231b4da75ef6debf42bdb39404b78 (patch)
treed5b8138905446635f8e08c413e77fc085ff4e44e /.pre-commit-config.yaml
parent74de05a01c8716a42d4e3427f607d7bea76b35e5 (diff)
downloadredot-engine-41a81f5360d231b4da75ef6debf42bdb39404b78.tar.gz
Style: Format yaml files
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml21
1 files changed, 13 insertions, 8 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6cc6a211f1..70cbe47665 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -96,16 +96,21 @@ repos:
language: node
entry: eslint
files: ^(platform/web/js/|modules/|misc/dist/html/).*\.(js|html)$
- args: [--fix, --no-warn-ignored, --no-config-lookup, --config, platform/web/eslint.config.cjs]
+ args:
+ - --fix,
+ - --no-warn-ignored,
+ - --no-config-lookup,
+ - --config,
+ - platform/web/eslint.config.cjs,
additional_dependencies:
- '@eslint/js@^9.3.0'
- '@html-eslint/eslint-plugin@^0.24.1'
- '@html-eslint/parser@^0.24.1'
- '@stylistic/eslint-plugin@^2.1.0'
- - 'eslint@^9.3.0'
- - 'eslint-plugin-html@^8.1.1'
- - 'globals@^15.3.0'
- - 'espree@^10.0.1'
+ - eslint@^9.3.0
+ - eslint-plugin-html@^8.1.1
+ - globals@^15.3.0
+ - espree@^10.0.1
- id: jsdoc
name: jsdoc
@@ -123,7 +128,7 @@ repos:
- -d
- dry-run
pass_filenames: false
- additional_dependencies: ['jsdoc@^4.0.3']
+ additional_dependencies: [jsdoc@^4.0.3]
- id: svgo
name: svgo
@@ -131,7 +136,7 @@ repos:
entry: svgo
files: \.svg$
args: [--quiet, --config, misc/utility/svgo.config.mjs]
- additional_dependencies: ["svgo@3.3.2"]
+ additional_dependencies: [svgo@3.3.2]
- id: copyright-headers
name: copyright-headers
@@ -179,7 +184,7 @@ repos:
language: python
entry: python misc/scripts/dotnet_format.py
types_or: [c#]
-
+#
# End of upstream Godot pre-commit hooks.
#
# Keep this separation to let downstream forks add their own hooks to this file,