3

I'm using VS Code settings.json to add scss.lint rules. I've enabled the ImportantRule but I want to turn it off for one file.

This SO answer says how to do it for scss-lint but it isn't working for me in VS Code.

Is there a way to do this in VS Code?

Community
  • 1
  • 1
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287

1 Answers1

1

I am looking for this too, but after some thought, I think that it does not make much sense to put VSCode specific tags inside the source code.

I love VS Code, but what if your other people in the project doesn't use VSCode? What if he/she uses Sublime, Atom or Brackets? Do they need to add an ignore-next-line for their IDE as well?

It will soon get very ridiculous.

Would love to hear other peoples thoughts on this!

Dolan
  • 1,519
  • 4
  • 16
  • 36