File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ check-embedded-fs: ## Check the embedded templates FS
139139
140140# TODO: add linters for other templates
141141.PHONY : check-templates
142- check-templates : check-go check-rust # # Run template source code checks
142+ check-templates : check-go check-rust check-typescript # # Run template source code checks
143143
144144.PHONY : check-go
145145check-go : # # Check Go templates' source
@@ -153,6 +153,11 @@ check-rust: ## Check Rust templates' source
153153 cd templates/rust/cloudevents && cargo clippy && cargo clean
154154 cd templates/rust/http && cargo clippy && cargo clean
155155
156+ .PHONY : check-typescript
157+ check-typescript : # # Check TypeScript templates' source
158+ cd templates/typescript/cloudevents && npm ci && npx eslint --ext .ts . && rm -rf node_modules build
159+ cd templates/typescript/http && npm ci && npx eslint --ext .ts . && rm -rf node_modules build
160+
156161.PHONY : test-templates
157162test-templates : test-go test-node test-python test-quarkus test-springboot test-rust test-typescript # # Run all template tests
158163
You can’t perform that action at this time.
0 commit comments