@@ -62,7 +62,7 @@ var CSSLint = (function() {
6262 len = rules . length ;
6363
6464 while ( i < len ) {
65- ruleset [ rules [ i ++ ] . id ] = 1 ; //by default, everything is a warning
65+ ruleset [ rules [ i ++ ] . id ] = 1 ; // by default, everything is a warning
6666 }
6767
6868 return ruleset ;
@@ -193,7 +193,7 @@ var CSSLint = (function() {
193193 allowRuleset = { } ;
194194
195195 if ( allowRules ) {
196- allowRules . toLowerCase ( ) . split ( "," ) . forEach ( function ( allowRule ) {
196+ allowRules . toLowerCase ( ) . split ( "," ) . forEach ( function ( allowRule ) {
197197 allowRuleset [ allowRule . trim ( ) ] = true ;
198198 } ) ;
199199 if ( Object . keys ( allowRuleset ) . length > 0 ) {
@@ -206,22 +206,22 @@ var CSSLint = (function() {
206206 ignoreEnd = null ;
207207 CSSLint . Util . forEach ( lines , function ( line , lineno ) {
208208 // Keep oldest, "unclosest" ignore:start
209- if ( null === ignoreStart && line . match ( / \/ \* [ \t ] * c s s l i n t [ \t ] + i g n o r e : s t a r t [ \t ] * \* \/ / i) ) {
209+ if ( null === ignoreStart && line . match ( / \/ \* [ \t ] * c s s l i n t [ \t ] + i g n o r e : s t a r t [ \t ] * \* \/ / i) ) {
210210 ignoreStart = lineno ;
211211 }
212212
213- if ( line . match ( / \/ \* [ \t ] * c s s l i n t [ \t ] + i g n o r e : e n d [ \t ] * \* \/ / i) ) {
213+ if ( line . match ( / \/ \* [ \t ] * c s s l i n t [ \t ] + i g n o r e : e n d [ \t ] * \* \/ / i) ) {
214214 ignoreEnd = lineno ;
215215 }
216216
217- if ( null !== ignoreStart && null !== ignoreEnd ) {
217+ if ( null !== ignoreStart && null !== ignoreEnd ) {
218218 ignore . push ( [ ignoreStart , ignoreEnd ] ) ;
219219 ignoreStart = ignoreEnd = null ;
220220 }
221221 } ) ;
222222
223223 // Close remaining ignore block, if any
224- if ( null !== ignoreStart ) {
224+ if ( null !== ignoreStart ) {
225225 ignore . push ( [ ignoreStart , lines . length ] ) ;
226226 }
227227
@@ -230,14 +230,14 @@ var CSSLint = (function() {
230230 }
231231
232232 if ( embeddedRuleset . test ( text ) ) {
233- //defensively copy so that caller's version does not get modified
233+ // defensively copy so that caller's version does not get modified
234234 ruleset = clone ( ruleset ) ;
235235 ruleset = applyEmbeddedRuleset ( text , ruleset ) ;
236236 }
237237
238238 reporter = new Reporter ( lines , ruleset , allow , ignore ) ;
239239
240- ruleset . errors = 2 ; //always report parsing errors as errors
240+ ruleset . errors = 2 ; // always report parsing errors as errors
241241 for ( i in ruleset ) {
242242 if ( ruleset . hasOwnProperty ( i ) && ruleset [ i ] ) {
243243 if ( rules [ i ] ) {
@@ -247,7 +247,7 @@ var CSSLint = (function() {
247247 }
248248
249249
250- //capture most horrible error type
250+ // capture most horrible error type
251251 try {
252252 parser . parse ( text ) ;
253253 } catch ( ex ) {
@@ -262,7 +262,7 @@ var CSSLint = (function() {
262262 ignore : reporter . ignore
263263 } ;
264264
265- //sort by line numbers, rollups at the bottom
265+ // sort by line numbers, rollups at the bottom
266266 report . messages . sort ( function ( a , b ) {
267267 if ( a . rollup && ! b . rollup ) {
268268 return 1 ;
0 commit comments