Skip to content

Commit

Permalink
Don't exclude *.d.ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Oct 27, 2024
1 parent 0463994 commit a6e2409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ repos:
"\\W(?:m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))",
--write-changes,
]
exclude: ^(packaging/wix/LICENSE.rtf.in|src/dialog/dlgabout\.cpp|.*\.(?:pot?|ts|wxl|svg))$
exclude: ^(packaging\/wix\/LICENSE.rtf.in|src\/dialog\/dlgabout\.cpp|.*\.(?:pot?|(?<!\.d\.)ts|wxl|svg))$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.48.0
hooks:
Expand All @@ -81,7 +81,7 @@ repos:
- "@typescript-eslint/eslint-plugin"
- "@typescript-eslint/parser"
- eslint-plugin-diff@^2.0.3
exclude: ^.*\.ts$
exclude: ^.*\.(?<!\.d\.)ts$
- repo: local
hooks:
- id: clang-format
Expand Down

0 comments on commit a6e2409

Please sign in to comment.