Skip to content

fix: files/ignores behavior is wrong in doc #749

Closed
@HerringtonDarkholme

Description

@HerringtonDarkholme

wrong doc:

  • files takes precedence

correct behavior:

  • ignores will be tested if present, ast-grep will skip file if it matches
  • otherwise, files will be test against files, if the option present. the file will be included if and only if it matches one of the glob in the files list.
  • if neither ignores/files is configured, a file is included by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions