TIP : Disable CSS Lint (in Visual Studio)

Sometimes we see the Red Squiggly lines in VS Solution Explorer under CSS and JS Files.
This is because you may have turned on Lint Check on the files. Basically what it does it to find any Syntactical errors and notify you. But sometimes they can be annoying.

To Disable this Lint Check (for CSS files), you can do the following.

Initial State TO Final Solution

CSSLint Final Solution

Solution:

  • Go to Tools Menu and then Options
  • Under Text Editor (left side options), click on the black arrow next to CSS
  • It should then expand to revel more options like below CSS Menu Option
  • Click on CssLint, and update the "Enable CSS Lint" option to "False" CSS Lint Setting
  • Click on OK.
  • You may have to close and re-open VS to see your changes.

Thank you
Vijaya Malla
@vijayamalla