Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .editorconfig file to set line length #138

Open
heygarrett opened this issue Jul 12, 2024 · 1 comment
Open

Use .editorconfig file to set line length #138

heygarrett opened this issue Jul 12, 2024 · 1 comment

Comments

@heygarrett
Copy link

heygarrett commented Jul 12, 2024

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.

@ccoVeille
Copy link

Good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants