usernamehw / vscode-error-lens

VSCode extension that enhances display of errors and warnings.
https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens
MIT License
601 stars 32 forks source link

Improve documentation for `excludeBySource` #187

Closed klezm closed 1 year ago

klezm commented 1 year ago

As discussed in #151, #126 and #79 the function of excludeBySource doesn't seem to be very clear.

I'd suggest to update the settings description and add examples for different languages to the README.

settings.json:

{
    ...
    "errorLens.excludeBySource": [
        // Python
        "Ruff", // Disables all errors reported by the `Ruff` linter
        "Ruff(E501)", // Disables errors by the `Ruff` linter with the code `E501` (Line to long)
        "Pylance(reportUndefinedVariable)",

        // JavaScript
        "eslint(padded-blocks)",
    ]
}