summaryrefslogtreecommitdiff
path: root/ale_linters/sh
diff options
context:
space:
mode:
authorEddie Lebow <elebow@users.noreply.github.com>2019-11-23 00:06:03 -0500
committerEddie Lebow <elebow@users.noreply.github.com>2019-11-23 00:34:40 -0500
commit1997a8f7e22a930e3d47b61a7f9ab948d04f2b92 (patch)
tree5d9e976f8bb58f47793da920f0d7f6c36aab9eae /ale_linters/sh
parentb91d82bfaa395bb86b3ea51f63cc8cef05e90f98 (diff)
downloadale-1997a8f7e22a930e3d47b61a7f9ab948d04f2b92.zip
ShellDetect: fall back to filetype if no hashbang
Some files lack a hashbang line but still have an unambiguous filetype. For example, the file `.zshrc` has the filetype `zsh`. Augment ale#handlers#sh#GetShellType to fall back to the filetype if no hashbang line can be found.
Diffstat (limited to 'ale_linters/sh')
0 files changed, 0 insertions, 0 deletions