2

Entering csslint --list-rules into the terminal, I see the following rule:

ids
  Selectors should not contain IDs.

So, in my SublimeLinter.sublime-settings user prefs file, I've tried setting "ids" to false, true, "none", "ignore", "exclude", and "" in the below code structure, but to no effect.

{
  "user": {
    "linters": {
      "csslint": {
        "ids": /* WHAT TO PUT HERE? */
      }
    }
  }
}

I'm not easily finding documentation for how to calibrate the ids settings. Anyone know? Thanks!

2540625
  • 11,022
  • 8
  • 52
  • 58

1 Answers1

2

I'm not sure if this is the way it's meant to be instead, but I found a solution by adding "ids" to the linter's "ignored" property, rather than by tuning an "ids" property itself:

{
  "user": {
    "linters": {
      "csslint": {
        "ignored": ["ids"]
      }
    }
  }
}
2540625
  • 11,022
  • 8
  • 52
  • 58