Skip to content

M0015 justfile-recipes

Rule: The justfile has the standard recipes.

Code M0015 (stable, never reused)
Id justfile-recipes
Category repo
Source spirit_level
Fix by hand

Level per tier

Tier Level Reason
small warn every repo answers to the same recipes: default, test, lint, install, deploy
small-workspace warn every repo answers to the same recipes: default, test, lint, install, deploy
medium warn every repo answers to the same recipes: default, test, lint, install, deploy
big warn every repo answers to the same recipes: default, test, lint, install, deploy
ai off
embedded off
ui off
egui off
units-strict off
units-paranoid off

Parameters

Name Type Default Meaning
recipes list of strings ["default", "test", "lint", "install", "deploy"] recipes that must exist

Why

Every repo answers to the same recipes, so a person or an agent never has to learn a repo's way of testing: just lists them, just test and just lint check, just install puts the binaries on PATH, just deploy brings this PC up to main.

How to fix

Add the missing recipes. The list is the parameter recipes.

Configure

[lints.justfile-recipes]
level = "deny"
recipes = ["default", "test", "lint", "install", "deploy"]
reason = "why this project wants it at this level"

Allow one finding in the code with // spirit-level: allow(justfile-recipes) <reason> (waivers); the code works there too, as in [lints.M0015].