Skip to content

Commit

Permalink
feat: Add support for timonwong.shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hverlin committed Nov 14, 2024
1 parent f4f8ec5 commit 93ae149
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/utils/supportedExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,18 @@ export const SUPPORTED_EXTENSIONS: Array<ConfigurableExtension> = [
};
},
},
{
extensionName: "timonwong.shellcheck",
toolName: "shellcheck",
generateConfiguration: async (tool: MiseTool) => {
return {
// it seems that it doesn't work with shims
"shellcheck.executablePath": path.join(
tool.install_path,
"bin",
"shellcheck",
),
};
},
},
];

0 comments on commit 93ae149

Please sign in to comment.