Skip to content

Commit

Permalink
Grunt: Run all CSS files through csslint.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Mar 15, 2013
1 parent d8468a3 commit 5fb6863
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Gruntfile.js
Expand Up @@ -348,20 +348,18 @@ grunt.initConfig({
} }
}, },
csslint: { csslint: {
// TODO figure out what to check for, then fix and enable
base_theme: { base_theme: {
src: expandFiles( "themes/base/*.css" ).filter(function( file ) { src: "themes/base/*.css",
// TODO remove items from this list once rewritten
return !( /(button|datepicker|core|dialog|theme)\.css$/ ).test( file );
}),
// TODO consider reenabling some of these rules
options: { options: {
"adjoining-classes": false, "adjoining-classes": false,
"box-model": false,
"compatible-vendor-prefixes": false,
"duplicate-background-images": false,
"import": false, "import": false,
"important": false,
"outline-none": false, "outline-none": false,
// especially this one
"overqualified-elements": false, "overqualified-elements": false,
"compatible-vendor-prefixes": false "text-indent": false
} }
} }
} }
Expand Down

0 comments on commit 5fb6863

Please sign in to comment.