def conf.chain
import bolt@1.27.0.0/src/lint/plan.bend as Planimport Base
import bolt@1.27.0.0/src/lint/world.bend as W
import bolt@1.27.0.0/src/config.bend as Config
273# the bolt.bend candidates of a directory as a path names it, nearest first:
274# the directory resolved against the working directory, then each parent up to
275# the root
276def conf.chain(+world: W.World, dir: String) -> List<&2, String>:
277 Config.chain(Config.home(W.cwd.of(world), dir))