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 293c134 commit 5bc966bCopy full SHA for 5bc966b
.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