EditorConfig can be used to ensure consistent editor settings in a project with a .editorconfig file. But some formatting tools without complex configuration needs (eg, shfmt) also use .editorconfig as a configuration file.
golines could use the max_line_length property in a .editorconfig file to set the line length. This would make it easy for anyone using golines as a formatter in their editor to maintain formatting consistency with others working on the same project.
EditorConfig can be used to ensure consistent editor settings in a project with a
.editorconfig
file. But some formatting tools without complex configuration needs (eg,shfmt
) also use.editorconfig
as a configuration file.golines
could use themax_line_length
property in a.editorconfig
file to set the line length. This would make it easy for anyone usinggolines
as a formatter in their editor to maintain formatting consistency with others working on the same project.