diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f6ab1bf..2fc32a2 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -2,11 +2,11 @@ name: GDScript Formatter description: Format GDScript files with gdscript-formatter entry: gdscript-formatter - language: unsupported + language: rust files: \.gd$ - id: gdscript-linter name: GDScript Linter description: Lint GDScript files with gdscript-formatter entry: gdscript-formatter lint - language: unsupported + language: rust files: \.gd$ diff --git a/README.md b/README.md index 6357b2c..be6cfb4 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ repos: rev: 0.21.0 # use the tag of the version you want to use hooks: - id: gdscript-formatter + - id: gdscript-linter ``` See the [formatter documentation](http://gdquest.com/library/gdscript_formatter#formatting-automatically-on-commit) for some more detailed information on this.