Skip to content

Commit

Permalink
Grunt: Run all CSS files through csslint.
Browse files Browse the repository at this point in the history
(cherry picked from commit 5fb6863)
  • Loading branch information
scottgonzalez committed Apr 17, 2013
1 parent 0a06deb commit deec8eb
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: {
// 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
}
}
}
Expand Down

0 comments on commit deec8eb

Please sign in to comment.