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

FR: shellcheck: option to force a shell dialect #527

Closed
chrisgrieser opened this issue Oct 10, 2022 · 2 comments
Closed

FR: shellcheck: option to force a shell dialect #527

chrisgrieser opened this issue Oct 10, 2022 · 2 comments

Comments

@chrisgrieser
Copy link
Contributor

Regarding the missing handling of zsh (e.g. #252), there is commonly the small trick to force shellcheck to lint a zsh file anyway, by using the argument --shell=bash. Since most of the rules apply to bash as well as zsh, this isn't that big of a problem.

With linter integration plugins for code editors, you can do this by changing the command that is used; however, I can't see how I can do that with this language-server.

@skovhus
Copy link
Collaborator

skovhus commented Nov 25, 2022

This was done in #536

Please reopen if this didn't solve your usecase.

@skovhus skovhus closed this as completed Nov 25, 2022
@chrisgrieser
Copy link
Contributor Author

thanks!

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