Skip to content

Commit

Permalink
Build: Switch from grunt-css to the equivalent grunt-contrib tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Mar 12, 2013
1 parent f87b4e0 commit bd211df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Expand Up @@ -127,7 +127,8 @@ grunt.loadNpmTasks( "grunt-contrib-jshint" );
grunt.loadNpmTasks( "grunt-contrib-uglify" );
grunt.loadNpmTasks( "grunt-contrib-concat" );
grunt.loadNpmTasks( "grunt-contrib-qunit" );
grunt.loadNpmTasks( "grunt-css" );
grunt.loadNpmTasks( "grunt-contrib-csslint" );
grunt.loadNpmTasks( "grunt-contrib-cssmin" );
grunt.loadNpmTasks( "grunt-html" );
grunt.loadNpmTasks( "grunt-compare-size" );
grunt.loadNpmTasks( "grunt-git-authors" );
Expand Down Expand Up @@ -354,15 +355,14 @@ grunt.initConfig({
}
},
csslint: {
// nothing: []
// 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
rules: {
options: {
"adjoining-classes": false,
"import": false,
"outline-none": false,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -58,7 +58,8 @@
"grunt-contrib-uglify": "0.1.1",
"grunt-contrib-concat": "0.1.3",
"grunt-contrib-qunit": "0.1.1",
"grunt-css": "0.5.4",
"grunt-contrib-csslint": "0.1.0",
"grunt-contrib-cssmin": "0.4.2",
"grunt-compare-size": "0.3.1",
"grunt-html": "0.3.3",
"grunt-git-authors": "1.1.0",
Expand Down

0 comments on commit bd211df

Please sign in to comment.