Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable linting for current file? #123

Closed
NeoFantom opened this issue Aug 24, 2020 · 2 comments
Closed

How to disable linting for current file? #123

NeoFantom opened this issue Aug 24, 2020 · 2 comments
Labels

Comments

@NeoFantom
Copy link

I need to disable markdownlint for some specific file which is so small that I don't want to follow the rules at all. Or disable temporarily also works fine. How do I do that?

@DavidAnson
Copy link
Owner

You can disable one or more files via configuration as described here: https://github.com/DavidAnson/vscode-markdownlint#markdownlintignore

Or you can run the markdownlint.toggleLinting command to temporarily disable linting as described here:  https://github.com/DavidAnson/vscode-markdownlint#rules

@ayoubzulfiqar
Copy link

Markdown Config

You can basically add any rule like which one you wanna enable or disable inside your Settings.JSON file

"markdownlint.config": {
        "no-hard-tabs": false
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants