Skip to content

Suggestion: glob-specific configs within the same folder #797

@dsent

Description

@dsent

There are cases where I want to configure different rules for different glob patterns within the same folder.

Adding inline comments to each file is tedious as is running linter multiple times with different command-line arguments.

It'd be awesome to have something like

{
  "overrides": {
    "path/*.typeA.md": {
      "config": {
        "MD018": false,
        "MD022": false
      }
    },
    "path/*.typeB.md": {
      "config": {
        "MD041": false
      }
    },
  }
}

...or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions