jimmyharris / vscode-shellcheck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-shellcheck

Current Version Install Count

Requirements

  1. Ensure shellcheck is installed.
  2. Run Install Extension command from Command Palette.
  3. Search and choose shellcheck.

Options

There are various options that can be configured by making changes to your user or workspace preferences.

Default options are:

{
    "shellcheck.enable": true,
    "shellcheck.run": "onType",
    "shellcheck.executablePath": "shellcheck",
    "shellcheck.exclude": [],
    "shellcheck.customArgs": [],
    "shellcheck.useWSL": false
}

Lint onType or onSave

By default the linter will lint as you type. Alternatively, set shellcheck.run to onSave if you want to lint only when the file is saved (works best if auto-save is on).

{
    "shellcheck.run": "onType" // also: "onSave"
}

Acknowledgements

This extension is based on hoovercj's Haskell Linter.

About

License:MIT License


Languages

Language:TypeScript 100.0%