Is there a way to add a custom editorconfig file to pre-commit hooks?

Viewed 12

I am trying to add a unified formatting/linting mechanism to the project I am working on,

I created an editorconfig file and I want this file to be run as a pre-commit hook

is there a library that does that? I tried https://github.com/editorconfig-checker/editorconfig-checker.python but it seems that it has its own set of rules as it ignores my editorconfig file

0 Answers
Related