]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move csslint overrides in Gruntfile.js. 12864/head
authorXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 27 Feb 2014 09:21:52 +0000 (11:21 +0200)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 27 Feb 2014 09:39:30 +0000 (11:39 +0200)
This works around https://github.com/gruntjs/grunt-contrib-csslint/issues/26

Gruntfile.js
docs/assets/css/docs.css

index 1cd3dd7d258245a66fe04c45dcb8d2525ce9bc07..161decae10b9a6ee840aad109556676a5561f973 100644 (file)
@@ -89,9 +89,13 @@ module.exports = function (grunt) {
       examples: [
         'docs/examples/**/*.css'
       ],
-      docs: [
-        'docs/assets/css/docs.css'
-      ]
+      docs: {
+        options: {
+          'ids': false,
+          'overqualified-elements': false
+        },
+        src: ['docs/assets/css/docs.css']
+      }
     },
 
     concat: {
index a554a59aa8e5ded7e06379c9ddea8f1ff3a9a5f6..8a82ed11ef5ceeae6c1303e28d6533234bde7c80 100644 (file)
@@ -1,5 +1,3 @@
-/*csslint ids: false, overqualified-elements: false, fallback-colors: false*/
-
 /*!
  * Bootstrap Docs (http://getbootstrap.com)
  * Copyright 2011-2014 Twitter, Inc.