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

Strict POSIX mode #118

Closed
FlyingWombat opened this issue Apr 3, 2019 · 2 comments
Closed

Strict POSIX mode #118

FlyingWombat opened this issue Apr 3, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@FlyingWombat
Copy link

I know this is bash-language-server, but I'm wondering it would be in-scope to add a strict POSIX mode to check script compatibility with shells like dash and regular sh.

As the name suggests, this mode would flag any deviations from the POSIX shell standard.

This would pretty much be solved by #104, since shellcheck already has a mode for linting strict POSIX shell, with its --shell option.
Another useful tool for this might be checkbashisms from the Debian DevScripts repo. (Arch package for reference)

@skovhus
Copy link
Collaborator

skovhus commented Sep 23, 2019

@mads-hartmann do you know if the tree-sitter-bash would support this?

@skovhus skovhus added help wanted enhancement New feature or request labels Sep 23, 2019
@mads-hartmann
Copy link
Collaborator

Given that shellcheck already has support for this and has a great VSCode extension I think it's outside the scope of this project to check for POSIX compliance 🙂

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

3 participants