Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support ale_sh_shellcheck_dialect to set shellcheck dialect#2289

Merged
w0rp merged 1 commit intodense-analysis:masterdense-analysis/ale:masterfrom
kevinoid:shellcheck-dialectkevinoid/ale:shellcheck-dialectCopy head branch name to clipboard
Feb 10, 2019
Merged

Support ale_sh_shellcheck_dialect to set shellcheck dialect#2289
w0rp merged 1 commit intodense-analysis:masterdense-analysis/ale:masterfrom
kevinoid:shellcheck-dialectkevinoid/ale:shellcheck-dialectCopy head branch name to clipboard

Conversation

@kevinoid
Copy link
Copy Markdown
Contributor

As discussed in #1051, there are cases (including my own) where it would be useful to be able to specify the dialect explicitly or allow shellcheck to determine the dialect using its own logic and considering # shellcheck shell= directives in the file. This commit allows users to do so using the ale_sh_shellcheck_dialect variable, which can be set empty to disable auto-detection or set to a particular dialect to use it unconditionally.

Fixes: #1051

Thanks for considering,
Kevin

As discussed in dense-analysis#1051, there are cases where it would be useful
to be able to specify the dialect explicitly.  This commit allows users
to do so using the ale_sh_shellcheck_dialect variable.

Fixes: dense-analysis#1051

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
@w0rp
Copy link
Copy Markdown
Member

w0rp commented Feb 10, 2019

Yep, you can sometimes figure out something better than a machine can.

@w0rp w0rp merged commit b235e08 into dense-analysis:master Feb 10, 2019
@w0rp
Copy link
Copy Markdown
Member

w0rp commented Feb 10, 2019

Cheers! 🍻

@kevinoid
Copy link
Copy Markdown
Contributor Author

Yes indeed. Thanks @w0rp! 🍻

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 this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.