editorconfiger
editorconfiger is the plain tool to validate and compare .editorconfig files
Install the pre-compiled binary
homebrew (only on macOS and Linux for now):
Add my tap (do it once):
And then install editorconfiger:
Update editorconfiger if already installed:
scoop:
manually:
Download the pre-compiled binaries from the releases and copy to the desired location. RPM and DEB packages are available to install under RedHat or Debian based Linux distros.
Command line syntax:
USAGE:
editorconfiger [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
c Compare two .editorconfig files
help Prints this message or the help of the given subcommand(s)
vd Validate all found .editorconfig files in a directory and all its children
vf Validate single .editorconfig file