Skip to content

Existence

Rule kinds in the Existence family. Each rule below links to its own page with options, an example, and any auto-fix support.

RuleDescription
file_existsEvery glob match in paths must correspond to a real file.
file_absentNo file matching paths may exist in the walked tree.
dir_existsDirectory counterpart of file_exists.
dir_absentDirectory counterpart of file_absent.