aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-15 09:36:49 -0400
committerScott González <scott.gonzalez@gmail.com>2013-03-15 09:36:49 -0400
commit5fb68636d19a40451d1190b9a5255d86616d54f5 (patch)
tree674cf2b18b8df10a26b4ea1d3857209d1e01cb9a /Gruntfile.js
parentd8468a33790da8e7be46552325e932162b1942af (diff)
downloadjquery-ui-5fb68636d19a40451d1190b9a5255d86616d54f5.tar.gz
jquery-ui-5fb68636d19a40451d1190b9a5255d86616d54f5.zip
Grunt: Run all CSS files through csslint.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index e4fa333fd..c2c1aefaf 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
}
}
}