fnando / vscode-linter

Extension for code linting, all in one package. New linters can be easily added through an extension framework.
https://marketplace.visualstudio.com/items?itemName=fnando.linter
MIT License
63 stars 16 forks source link

Extension causes high cpu load #5

Open niranjanaryan opened 3 years ago

niranjanaryan commented 3 years ago

:warning: Make sure to attach this file from your home-directory: :warning:/tmp/fnando.linter-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

ZerdoX-x commented 2 years ago

This config helped me. (using linter only for yamllint)

    "linter.linters": {
        "brakeman": {
            "enabled": false,
        },
        "credo": {
            "enabled": false,
        },
        "dart": {
            "enabled": false,
        },
        "eslint": {
            "enabled": false,
        },
        "hadolint": {
            "enabled": false,
        },
        "language-tool": {
            "enabled": false,
        },
        "luacheck": {
            "enabled": false,
        },
        "markdownlint": {
            "enabled": false,
        },
        "php-code-sniffer": {
            "enabled": false,
        },
        "proselint": {
            "enabled": false,
        },
        "pylint": {
            "enabled": false,
        },
        "reek": {
            "enabled": false,
        },
        "rubocop": {
            "enabled": false,
        },
        "ruby": {
            "enabled": false,
        },
        "shellcheck": {
            "enabled": false,
        },
        "sqlfluff": {
            "enabled": false,
        },
        "stylelint": {
            "enabled": false,
        },
        "swiftlint": {
            "enabled": false,
        },
        "textlint": {
            "enabled": false,
        },
        "vale": {
            "enabled": false,
        },
        "yamllint": {
            "enabled": true,
        }
    }
michaelglass commented 1 year ago

I tried using your config (even disabling yamllint because I just want to use linter with actionlint but linter still had prohibitively slow performance characteristics :(