]> 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>
Wed, 17 Apr 2013 15:36:08 +0000 (11:36 -0400)
(cherry picked from commit 5fb68636d19a40451d1190b9a5255d86616d54f5)

Gruntfile.js

index 96e2cbc622fbf68b188d6be52d66c2e05a242ff0..eca9f3e5919ba8e2bcd8e83186b4489b1d779e62 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
                        }
                }
        }