Skip to content

The agent that grows with you

fix: add tsx to linted extensions

Maciej Lisiewski0035c85145b0
diff --git a/lefthook.yml b/lefthook.yml
index 9ba3703faf2..ad0a5227fc2 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -6,30 +6,30 @@ pre-commit:
- name: lint web
root: web/
- glob: "*.{js,ts}"
+ glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint bootstrap installer
root: apps/bootstrap-installer/
- glob: "*.{js,ts}"
+ glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint desktop app
root: apps/desktop/
- glob: "*.{js,ts}"
+ glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint tui
root: ui-tui/
- glob: "*.{js,ts}"
+ glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint shared
root: apps/shared/
- glob: "*.{js,ts}"
+ glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint tests
root: tests-js/
- glob: "*.{js,ts}"
+ glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}