Sublime Forum

Modify Markdownlint Rules?

#1

I am using the SublimeLinter plugin with markdownlint for nodejs to lint markdown files.

I would like to pass some settings to the linter to modify how it processes its rules.

In the SublimeLinter.sublime-settings file I have added the following but the rule settings (MD002, MD004, line-length) do not take affect:

    "linters": {
        "markdownlint": {
            "@disable": false,
            "MD002": {
                "level": 2
            },
            "MD004": {
                "style": "sublist"
            },
            "args": "",
            "chdir": "${project}",
            "excludes": [],
            "line-length": false
        }
    }

Any idea how to get this to work?

Thank you.

0 Likes