diff --git a/lib/main.js b/lib/main.js index d37bb1b..3428a8e 100644 --- a/lib/main.js +++ b/lib/main.js @@ -49,6 +49,11 @@ export default { lintOnFly: true, lint: (textEditor) => { const filePath = textEditor.getPath(); + const fileExt = path.extname(filePath); + if (fileExt === '.zsh' || fileExt === '.zsh-theme') { + // shellcheck does not support zsh + return []; + } const text = textEditor.getText(); const cwd = path.dirname(filePath); const showAll = this.enableNotice;