Skip to content

Add support for .lycheeignore file #308

Closed

Description

@mre

In #306 we discussed the possibility of supporting a .lycheeignore file to exclude certain URLs from getting checked.
This is similar to files like .gitignore and .dockerignore.

Proposed changes

  • Support reading a .lycheeignore file from the current working directory.
  • Make the --exclude-file flag default to .lycheeignore if it exists.
  • Optionally support reading .lycheeignore files from sub-directories. This allows per-directory exclusion, but makes the implementation more difficult.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions