Skip to content

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

Closed
@chrisgrieser

Description

@chrisgrieser

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions