Add ability ignore specific rule with settings.json
See original GitHub issueNot 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:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
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