]> 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>
Mon, 25 Nov 2013 21:41:04 +0000 (16:41 -0500)
(cherry picked from commit 39a2f465a54d93777781c1a97cb58953a7d6557e)

.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 8e468484a8a27451bba77fff7d9a9cca61788b95..4fc719a8160fc1edf28c9977bea8edb0b0d91444 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 d8319c75ea6ecbc27cedee7016aab0f533111bb6..aba7b1f4cc485349c74bab54277ea6fd80ed9910 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",