]> source.dussan.org Git - jquery-ui.git/commitdiff
Grunt: Run all CSS files through csslint.
authorScott González <scott.gonzalez@gmail.com>
Fri, 15 Mar 2013 13:36:49 +0000 (09:36 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 15 Mar 2013 13:36:49 +0000 (09:36 -0400)
Gruntfile.js

index e4fa333fd9cf862dae5d167df6040d1dd2918b6e..c2c1aefafde807f3873a40c5f09dc8f2f9ac0af9 100644 (file)
@@ -348,20 +348,18 @@ grunt.initConfig({
                }
        },
        csslint: {
-               // TODO figure out what to check for, then fix and enable
                base_theme: {
-                       src: expandFiles( "themes/base/*.css" ).filter(function( file ) {
-                               // TODO remove items from this list once rewritten
-                               return !( /(button|datepicker|core|dialog|theme)\.css$/ ).test( file );
-                       }),
-                       // TODO consider reenabling some of these rules
+                       src: "themes/base/*.css",
                        options: {
                                "adjoining-classes": false,
+                               "box-model": false,
+                               "compatible-vendor-prefixes": false,
+                               "duplicate-background-images": false,
                                "import": false,
+                               "important": false,
                                "outline-none": false,
-                               // especially this one
                                "overqualified-elements": false,
-                               "compatible-vendor-prefixes": false
+                               "text-indent": false
                        }
                }
        }