diff --git a/docs/src/docs/integrations.md b/docs/src/docs/integrations.md index d617489..8a87679 100644 --- a/docs/src/docs/integrations.md +++ b/docs/src/docs/integrations.md @@ -49,6 +49,7 @@ repos: hooks: - id: djlint-handlebars files: "\\.html" + types_or: ['html'] ``` You can use the `files` or `exclude` parameters to constrain each hook to its own directory, allowing you to support multiple template languages within the same repo. diff --git a/docs/src/fr/docs/integrations.md b/docs/src/fr/docs/integrations.md index e1081e8..e9d100b 100644 --- a/docs/src/fr/docs/integrations.md +++ b/docs/src/fr/docs/integrations.md @@ -49,6 +49,7 @@ repos: hooks: - id: djlint-handlebars files: "\\.html" + types_or: ['html'] ``` Vous pouvez utiliser les paramètres `files` ou `exclude` pour contraindre chaque hook à son propre répertoire, ce qui vous permet de supporter plusieurs langages de template dans le même repo. diff --git a/docs/src/ru/docs/integrations.md b/docs/src/ru/docs/integrations.md index 502f246..aa68373 100644 --- a/docs/src/ru/docs/integrations.md +++ b/docs/src/ru/docs/integrations.md @@ -49,6 +49,7 @@ repos: hooks: - id: djlint-handlebars files: "\\.html" + types_or: ['html'] ``` Вы можете использовать параметры `files` или `exclude`, чтобы ограничить каждый хук своим каталогом, что позволит вам поддерживать несколько языков шаблонов в одном репозитории.