Feature Description
You can use tag-based filtering for specific files:
[[overrides]]
paths = [ "foo" ]
include_tags = [ "comments" ] # Only check comments in the foo file.
[[overrides]]
paths = [ "bar" ]
exclude_tags = [ "strings" ] # Don't check strings in the bar file.
Use Case
I wanted to not have codebook lint the words in it's config, but still have it lint comments in the config:
[[overrides]]
paths = [ "codebook.toml" ]
exclude_tags = [ "string" ]
But this didn't work.
Proposed Solution
You could probably also want extra_exclude_tags/extra_include_tags to mirror how the other fields work.
Alternative Solutions
My proposed usecase could also be hardcoded. It doesn't really make sense for codebook to lint it's own dictionary.
Examples
No response
Additional Context
No response
Feature Description
You can use tag-based filtering for specific files:
Use Case
I wanted to not have codebook lint the words in it's config, but still have it lint comments in the config:
But this didn't work.
Proposed Solution
You could probably also want
extra_exclude_tags/extra_include_tagsto mirror how the other fields work.Alternative Solutions
My proposed usecase could also be hardcoded. It doesn't really make sense for codebook to lint it's own dictionary.
Examples
No response
Additional Context
No response