From deec8eb05381cb0d5d257ded2d03ecf8d93f8a82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 15 Mar 2013 09:36:49 -0400 Subject: [PATCH] Grunt: Run all CSS files through csslint. (cherry picked from commit 5fb68636d19a40451d1190b9a5255d86616d54f5) --- Gruntfile.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 96e2cbc62..eca9f3e59 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 } } } -- 2.39.5