We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494b8eb commit 15753b0Copy full SHA for 15753b0
.pre-commit-config.yaml
@@ -42,14 +42,14 @@ repos:
42
files: \.(yaml|yml)$
43
exclude: ^(\node_modules/)
44
45
-# JavaScript specific hooks
+# JavaScript and TypeScript specific hooks
46
- repo: local
47
hooks:
48
- - id: js-lint
49
- name: js lint
+ - id: js-ts-lint
+ name: js/ts lint
50
entry: bash -c 'cd website && npm install 2>/dev/null || true && npm run lint'
51
language: system
52
- files: \.js$
+ files: \.(js|ts|tsx)$
53
54
pass_filenames: false
55
0 commit comments