Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #102 from lucasdf/exclude_zsh
Browse files Browse the repository at this point in the history
Ignore zsh files
  • Loading branch information
Arcanemagus authored Aug 27, 2017
2 parents 4c22cde + 35147b7 commit a89d719
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a89d719

Please sign in to comment.