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

Support SyntaxTree options from .streerc file #570

Closed
molawson opened this issue Mar 22, 2023 · 1 comment · Fixed by #573
Closed

Support SyntaxTree options from .streerc file #570

molawson opened this issue Mar 22, 2023 · 1 comment · Fixed by #573

Comments

@molawson
Copy link
Contributor

👋🏼 First off, this project is really exciting, especially it's SyntaxTree integration!

Starting with v3.3.0, SyntaxTree has supported storing CLI options in an .streerc file. Right now, running the format command with this LSP only uses the SyntaxTree defaults.

Are there any plans to support that .streerc file?

If there's an appetite for this from the maintainers' end, I'd be happy to take a swing at a PR.

@vinistock
Copy link
Member

Thank you for the interest in the project!

I think it makes perfect sense to read configurations from the .streerc file, feel free to take a stab at the PR.

Keep in mind that we most certainly only want to read and parse configurations once, similar to what we do in RuboCop.

vinistock added a commit that referenced this issue Feb 28, 2024
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

Successfully merging a pull request may close this issue.

2 participants