KEMBAR78
Add to `shellcheck.ignorePatterns` instead of overriding it · Issue #1196 · vscode-shellcheck/vscode-shellcheck · GitHub
Skip to content

Add to shellcheck.ignorePatterns instead of overriding it #1196

@lonix1

Description

@lonix1

I want to ignore a certain massive directory (dependencies outside my control).

I found the shellcheck.ignorePatterns setting. But it already has a large default value:

  "shellcheck.ignorePatterns": {
    "**/*.csh": true,
    "**/*.cshrc": true,
    "**/*.fish": true,
    "**/*.login": true,
    "**/*.logout": true,
    "**/*.tcsh": true,
    "**/*.tcshrc": true,
    "**/*.xonshrc": true,
    "**/*.xsh": true,
    "**/*.zsh": true,
    "**/*.zshrc": true,
    "**/zshrc": true,
    "**/*.zprofile": true,
    "**/zprofile": true,
    "**/*.zlogin": true,
    "**/zlogin": true,
    "**/*.zlogout": true,
    "**/zlogout": true,
    "**/*.zshenv": true,
    "**/zshenv": true,
    "**/*.zsh-theme": true
  },

I don't want to override the defaults, only add one line to it (e.g. **/bin/**). How can I do that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions