@@ -113,7 +113,11 @@ Override `lint-all` in your justfile to add Java, Node, Python, etc.:
113113java_lint := devtools_dir + "/linters/java"
114114
115115# Extend base linters with Java-specific ones
116- lint-all: lint-base lint-java
116+ lint-all: _ensure-devtools lint-java
117+ #!/usr/bin/env bash
118+ source "{{colors}}"
119+ just --justfile {{devtools_dir}}/justfile lint-base
120+ just_success "All linting checks completed"
117121
118122lint-java:
119123 @{{java_lint}}/lint.sh
@@ -127,7 +131,11 @@ See [`examples/java-justfile`](examples/java-justfile) for a complete example.
127131node_lint := devtools_dir + "/linters/node"
128132
129133# Extend base linters with Node linters
130- lint-all: lint-base lint-node
134+ lint-all: _ensure-devtools lint-node
135+ #!/usr/bin/env bash
136+ source "{{colors}}"
137+ just --justfile {{devtools_dir}}/justfile lint-base
138+ just_success "All linting checks completed"
131139
132140lint-node:
133141 @{{node_lint}}/lint.sh
@@ -139,7 +147,11 @@ See [`examples/node-justfile`](examples/node-justfile) for a complete example.
139147
140148``` just
141149# Extend base linters with Python linters
142- lint-all: lint-base lint-python
150+ lint-all: _ensure-devtools lint-python
151+ #!/usr/bin/env bash
152+ source "{{colors}}"
153+ just --justfile {{devtools_dir}}/justfile lint-base
154+ just_success "All linting checks completed"
143155
144156lint-python:
145157 #!/usr/bin/env bash
@@ -154,7 +166,11 @@ lint-python:
154166
155167``` just
156168# Extend base linters with Go linters
157- lint-all: lint-base lint-go
169+ lint-all: _ensure-devtools lint-go
170+ #!/usr/bin/env bash
171+ source "{{colors}}"
172+ just --justfile {{devtools_dir}}/justfile lint-base
173+ just_success "All linting checks completed"
158174
159175lint-go:
160176 #!/usr/bin/env bash
@@ -169,7 +185,11 @@ lint-go:
169185
170186``` just
171187# Extend base linters with Rust linters
172- lint-all: lint-base lint-rust
188+ lint-all: _ensure-devtools lint-rust
189+ #!/usr/bin/env bash
190+ source "{{colors}}"
191+ just --justfile {{devtools_dir}}/justfile lint-base
192+ just_success "All linting checks completed"
173193
174194lint-rust:
175195 #!/usr/bin/env bash
@@ -183,14 +203,19 @@ lint-rust:
183203### Minimal Project (base linters only)
184204
185205``` just
186- # Default behavior - no need to override
187- # Just run: just lint-all
206+ # Run all linters (uses base linters only)
207+ lint-all: _ensure-devtools
208+ @just --justfile {{devtools_dir}}/justfile lint-base
188209```
189210
190211### Multiple Languages
191212
192213``` just
193- lint-all: lint-base lint-java lint-python lint-ts
214+ lint-all: _ensure-devtools lint-java lint-python lint-node
215+ #!/usr/bin/env bash
216+ source "{{colors}}"
217+ just --justfile {{devtools_dir}}/justfile lint-base
218+ just_success "All linting checks completed"
194219```
195220
196221## Utilities
0 commit comments