git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

typos improvements

Open bmrips opened this issue 6 months ago • 3 comments

This PR comprises three changes to the typos hook:

  • Use structured configuration by making typos.settings.configuration an attrs. This change is not backwards compatible.
  • Add the typos.settings.force-exclude option that maps to typos' --force-exclude argument. In addition, enable it by default since you expect exclude globs set via the --exclude CLI option or the configuration file's [files.extend-exclude] option to be effective.
  • Enable multiple exclusion patterns in typos.settings.exclude.

bmrips avatar Apr 13 '25 06:04 bmrips