You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65Lines changed: 65 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,6 +250,71 @@ lint-node-eslint:
250
250
251
251
All defined `lint-*` recipes are automatically detected and included in the summary.
252
252
253
+
## Customizing and Skipping Linters
254
+
255
+
You can override any linter recipe in your project's justfile to customize behavior or skip checks.
256
+
257
+
### Skip a Linter
258
+
259
+
To skip a linter completely, override the recipe and output a message containing "Skip" or "Skipping". The verify script will mark it as skipped (yellow `-`) in the summary:
260
+
261
+
```just
262
+
# Skip license compliance checks
263
+
lint-license:
264
+
@echo "Skipping license check"
265
+
266
+
# Skip a Java linter
267
+
lint-java-checkstyle:
268
+
@echo "Skipping Checkstyle"
269
+
```
270
+
271
+
**Result in summary:**
272
+
273
+
```text
274
+
License reuse - skipped
275
+
Java Checkstyle checkstyle - skipped
276
+
```
277
+
278
+
### Customize a Linter
279
+
280
+
Override a recipe to use custom configurations or different tools:
0 commit comments