I have editorconfig set up like so:
(use-package editorconfig
:diminish editorconfig-mode
:hook (after-init . editorconfig-mode)
:init
(setq editorconfig-exclude-regexps '("COMMIT_EDITMSG"
"cover-letter\\.patch")))
I want to have editorconfig rules like this at the project root not interfere with fill-column when writing commit messages or git patch cover letters that typically should use 72 characters per line.
It seems that for this editorconfig-set-local-variables should only be called if the exclude modes/regexps checks call for it.