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

[feature request] Support configuring line-length and use-spaces from gdformatrc #345

Open
niedzielski opened this issue Dec 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@niedzielski
Copy link

This is a feature request to add two new configurations to gdformatrc, line_length and spaces_for_indent:

excluded_directories: !!set
  .git: null
line_length: 80
spaces_for_indent: 2

These are currently only exposed as CLI parameters so far as I know.

gdformat --line-length=80 --use-spaces=2 .

Thank you for this project!

@Scony Scony added the enhancement New feature or request label Dec 28, 2024
@Scony
Copy link
Owner

Scony commented Dec 28, 2024

Sounds reasonable. Thanks for raising this.

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

No branches or pull requests

2 participants