I am trying to introduce a pre-commit-hooks check to stop user from pushing to remote if mal-formatted code found in the changes, the most promising checker I have found is https://github.com/editorconfig-checker/editorconfig-checker, while it doesn't honor the .editorconfig already there in the repo, it seems to be using its own set of rules
Looks like it supports .editorconfig
file?
@Srid it will use its own config file .ecrc instead of following the rules in .editorconfig
I'm not familiar with editorconfig, but why does it say this in the README?
This tool only needs your
.editorconfig
to check all files.
image.png
turns out it does follow the rules in .editorconfig :)
For ref, https://github.com/juspay/superposition/pull/75
Last updated: Nov 15 2024 at 11:45 UTC