Use .csslintrc instead of inlining rules in the Gruntfile.

This commit is contained in:
Scott González 2013-03-15 09:57:45 -04:00
parent 5fb68636d1
commit 39a2f465a5
3 changed files with 13 additions and 10 deletions

11
.csslintrc Normal file
View File

@ -0,0 +1,11 @@
{
"adjoining-classes": false,
"box-model": false,
"compatible-vendor-prefixes": false,
"duplicate-background-images": false,
"import": false,
"important": false,
"outline-none": false,
"overqualified-elements": false,
"text-indent": false
}

View File

@ -351,15 +351,7 @@ grunt.initConfig({
base_theme: {
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,
"overqualified-elements": false,
"text-indent": false
csslintrc: ".csslintrc"
}
}
}

View File

@ -58,7 +58,7 @@
"grunt-contrib-uglify": "0.1.1",
"grunt-contrib-concat": "0.1.3",
"grunt-contrib-qunit": "0.2.0",
"grunt-contrib-csslint": "0.1.0",
"grunt-contrib-csslint": "0.1.1",
"grunt-contrib-cssmin": "0.4.2",
"grunt-compare-size": "0.3.1",
"grunt-html": "0.3.3",