Skip to content

Ignore zsh files in shellcheck #689

Closed
@remcohaszing

Description

@remcohaszing

Code editor

Visual Studio Code

Platform

Linux

Version

v1.29.0

What steps will reproduce the bug?

Open .zshrc or a file with the .zsh extension

How often does it reproduce? Is there a required condition?

The language is configured as Shell Script (shellscript). This is default behaviour in VSCode.

What is the expected behavior?

Nothing

What do you see instead?

It’s checked by Shellcheck, which can’t handle ZSH syntax. This results in a lot of errors.

Additional information

The solution would be to ignore validation of .zshrc and *.zsh files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority ⭐️Triaged and deemed a priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions