DavidAnson / vscode-markdownlint

Markdown linting and style checking for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint
MIT License
894 stars 166 forks source link

Disable Extension #329

Closed Space-yg closed 3 months ago

Space-yg commented 3 months ago

I am working in a workspace and I would like to disable the extension for this workspace only. What has worked is adding the following to the settings.json:

"markdownlint.config": {
    "default": false
}

It would be nice if there was an off option in markdownlint.run to disable the extension completely.

DavidAnson commented 3 months ago

What you describe is a VS Code feature request. I do not think every extension should implement this individually. Your approach of disabling all rules seems effectively equivalent.

Space-yg commented 3 months ago

Sorry if I'm doing something wrong, I'm new to opening issues😅

DavidAnson commented 3 months ago

You didn't do anything wrong, I just don't think this is something that this extension (or others) should implement themselves.

nschonni commented 3 months ago

I am working in a workspace and I would like to disable the extension for this workspace only. What has worked is adding the following to the settings.json:

https://code.visualstudio.com/docs/editor/extension-marketplace#_disable-an-extension

DavidAnson commented 3 months ago

Thanks, Nick! I scanned that page yesterday, but missed that disable already worked per-workspace.