From 707f46ac657e22184ab8ad579d3dd82496186ea9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 15 Mar 2013 09:57:45 -0400 Subject: [PATCH] Use .csslintrc instead of inlining rules in the Gruntfile. (cherry picked from commit 39a2f465a54d93777781c1a97cb58953a7d6557e) --- .csslintrc | 11 +++++++++++ Gruntfile.js | 10 +--------- package.json | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 .csslintrc 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 8e468484a..4fc719a81 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 d8319c75e..aba7b1f4c 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", -- 2.39.5