Skip to content

Existence

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

  • file_exists — Every glob match in paths must correspond to a real file.
  • file_absent — No file matching paths may exist in the walked tree.
  • dir_exists — Directory counterpart of file_exists.
  • dir_absent — Directory counterpart of file_absent.