aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-15 09:57:45 -0400
committerScott González <scott.gonzalez@gmail.com>2013-03-15 09:57:49 -0400
commit39a2f465a54d93777781c1a97cb58953a7d6557e (patch)
tree2909cf045a91d12918b26fcc63e386d5ce5003b4
parent5fb68636d19a40451d1190b9a5255d86616d54f5 (diff)
downloadjquery-ui-39a2f465a54d93777781c1a97cb58953a7d6557e.tar.gz
jquery-ui-39a2f465a54d93777781c1a97cb58953a7d6557e.zip
Use .csslintrc instead of inlining rules in the Gruntfile.
-rw-r--r--.csslintrc11
-rw-r--r--Gruntfile.js10
-rw-r--r--package.json2
3 files changed, 13 insertions, 10 deletions
diff --git a/.csslintrc b/.csslintrc
new file mode 100644
index 000000000..5d9db072c
--- /dev/null
+++ b/.csslintrc
@@ -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
+}
diff --git a/Gruntfile.js b/Gruntfile.js
index c2c1aefaf..fae88635c 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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"
}
}
}
diff --git a/package.json b/package.json
index 5a2250595..93c45a9fc 100644
--- a/package.json
+++ b/package.json
@@ -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",