diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1077037d..bea12b63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,13 @@ exclude: '^(\.github/|\.vscode/).*|CODE_OF_CONDUCT\.md|CHANGELOG\.md' repos: + - repo: local + hooks: + - id: validate-generated-schema-types + name: validate generated schema types + entry: bash -c 'node generate_ts_schema_types.js && git diff --exit-code -- generated/schema-types.ts' + language: system + pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli rev: v9.3.3 hooks: