.gitignore Forbidden Patterns

View Source

Some patterns in .gitignore should be excluded.

Rationale

This is a simple convention for consistency. The patterns mentioned in the options (default) are those a majority of bootstrap projects should not adopt.

Options

  • regexes :: [string()]
    • default: ["^rebar.lock$"]

Example configuration

{elvis_gitignore, forbidden_patterns, #{regexes => ["^rebar.lock$"]}}