]> source.dussan.org Git - jquery-ui.git/commitdiff
Use .csslintrc instead of inlining rules in the Gruntfile.
authorScott González <scott.gonzalez@gmail.com>
Fri, 15 Mar 2013 13:57:45 +0000 (09:57 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 15 Mar 2013 13:57:49 +0000 (09:57 -0400)
.csslintrc [new file with mode: 0644]
Gruntfile.js
package.json

diff --git a/.csslintrc b/.csslintrc
new file mode 100644 (file)
index 0000000..5d9db07
--- /dev/null
@@ -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
+}
index c2c1aefafde807f3873a40c5f09dc8f2f9ac0af9..fae88635c6dc0b8df1eb03f5b5569747e94005d4 100644 (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"
                        }
                }
        }
index 5a2250595d5b9c1e42084231eeba1c8d3be7aaac..93c45a9fc65eb4ed0a37702eee99b65a9b3b802a 100644 (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",