Loading ...
Sorry, an error occurred while loading the content.

2771Re: [jslint] Ending CSS block with semicolon

Expand Messages
  • Doc Emmett Splendid
    Feb 1, 2012
      This is a difference between maintainable CSS (which should follow a very strict format) and ~minified~ CSS. Just as JSLint won't pass minified JS (which would also be written with a missing semicolon in the same essential location), it won't, and should not, pass minified CSS.

      -- DES

      From: cse_html_validator <alhome@...>
      To: jslint_com@yahoogroups.com
      Sent: Wednesday, 1 February 2012, 11:02
      Subject: [jslint] Ending CSS block with semicolon


      JSLint wants CSS blocks to end in semicolons, like this:

      <style type="text/css">

      It's perfectly OK to not have a semicolon in "{color:navy}".

      I don't see an option for this? Is there an option to stop this check?

      And if not, can such an option be added?

      [Non-text portions of this message have been removed]
    • Show all 4 messages in this topic