question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability ignore specific rule with settings.json

See original GitHub issue

Not sure if I have missed this in the manual, or in another issue, but it would be really nice if I could specify which issues to ignore specific rules on a global in Visual Studio Code’s own settings.json file, so that I do not have to have a separate configuration file just for the extension.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marsfancommented, Jul 21, 2020

Also, I want to add,for anyone who stumbles across this issue. It is already possible to ignore specific rules with settings.json.

Here is an example of how to disable the rules MD022 and MD032:

    "markdownlint.config": {
        "MD022": false,
        "MD032": false
    }
0reactions
DavidAnsoncommented, Oct 7, 2020

MD029 is disable-able per example below.

But I’m not sure how you would do so from an ESLint-specific config file?

https://dlaa.me/markdownlint/#%25m%23 Disable MD029 1. Item 2. Item Text 3. Item 4. Item Text <!-- markdownlint-disable MD029 --> 5. Item 6. Item

Read more comments on GitHub >

github_iconTop Results From Across the Web

Looking for a way to ignore specific rules at command line #371
json file in VS Code. Currently, there does not seem to be any way to ignore specific rules - except to either create...
Read more >
Disabling specific rules - Visual Studio - Sonar Community
Hey there community! We are looking to disable some of the rules in the scanner. One example is completely disabling the cpp:NameSpace:Name ...
Read more >
ESLint ignore specific rule for a specific directory
This option is useful when you want different configurations for different parts of a project or when you want others to be able...
Read more >
User and Workspace Settings - Visual Studio Code
You can use IntelliSense in settings.json to help you find language-specific settings. All editor settings and some non-editor settings are supported.
Read more >
Rules - ESLint - Pluggable JavaScript Linter
Rules are the core building block of ESLint. A rule validates if your code meets a certain expectation, and what to do if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found