-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Description
Please let me know if there is another way. 🙏
Background
The .github/ path will contain many YAML files for configuration. Especially GitHub Actions workflows.
It is basically managed by git, however typos exclude files under the path from files.ignore-hidden = true by default.
> typos --version
typos-cli 1.16.0
> typos -vvv 2>&1 | grep -F .github
[debug] ignoring ./.github: Ignore(IgnoreMatch(Hidden))
> typos --dump-config - | grep ignore-hidden
ignore-hidden = trueAs I understand it, if I want to enable typos for the files, I should do one of the following.
- Add arguments to call typos as
typos . .github - Put
_typos.tomlwhich will disable all other dots again[files] ignore-hidden = false extend-exclude = [".git", '.direnv', '.bundle']
I want to prefer no arguments call of typos, so putting config is okay.
But it always requires editing the extend-exclude option for each GitHub repository.
Feature Requests
One of the following will help me a lot.
- Exclude
.github/fromfiles.ignore-hiddentargets files.extend-excludewill accept!prefix as.gitignore- New option
files.extend-include
Metadata
Metadata
Assignees
Labels
No labels