SublimeLinter-contrib-write-good icon indicating copy to clipboard operation
SublimeLinter-contrib-write-good copied to clipboard

In readme document how to disable specific rules

Open reagle opened this issue 7 years ago • 4 comments

Should one use "ignore" or "args"?

reagle avatar Jun 16 '17 19:06 reagle

something like this should work but I've never tested it:

{
  "args": [
    "--no-passive",
    "--weasel"
  ] 
}

Please let me know if you have any luck and I'll update the readme or I'd happily accept a PR ;)

ckaznocha avatar Jun 16 '17 22:06 ckaznocha

Yes, I am successfully doing this now. Could you include this in the readme?

reagle avatar Jun 17 '17 01:06 reagle

in the readme, it would help to know, which file should contain code like the above example? where in that file should it be placed? what is the complete set of available options?

dylan-k avatar Jun 08 '19 11:06 dylan-k

Coming to this thread after a long while and I can't get it to work. I'm guessing that you need to add the args array in SublimeLinter.sublime-settings but this does nothing:

// SublimeLinter Settings - User
{
    "debug": true,
    "linters": {
        "markdownlint": {
        },
        "write-good": {
          "args": [
            "--no-passive",         
            "--no-weasel"
              ] 
            }
    },
    "show_panel_on_save": "view"
}

Can anyone tell me what I'm doing wrong?

honzik20 avatar Sep 30 '22 09:09 honzik20