You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EditorConfig has a binary easily installed with Homebrew. This binary takes a path and splits out the config for that file. Build something around this and find or fd that
Takes some file names
Looks them up in editorconfig
Runs them through some scripts that
end_of_line: Convert line endings to whatever is specified
insert_final_newline: Inserts a newline if it doesn't end with one
charset: Convert to the desired charset
trim_trailing_whitespace: Remove if specified
and so on
Outputs a patch - it doesn't change the files on disk
Exits non-zero when any patch is output, because any input file has changes needed to conform
The text was updated successfully, but these errors were encountered:
EditorConfig has a binary easily installed with Homebrew. This binary takes a path and splits out the config for that file. Build something around this and
find
orfd
thatend_of_line
: Convert line endings to whatever is specifiedinsert_final_newline
: Inserts a newline if it doesn't end with onecharset
: Convert to the desired charsettrim_trailing_whitespace
: Remove if specifiedThe text was updated successfully, but these errors were encountered: