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",