I'd like to make configuration of grunt tasks a bit easier. Currently I've got a lot of different configuration files, like a .csslintrc, jshintrc, bower.json and so on.
It would be really cool if I could concatenate all these configuration files into one single file. This configuration file could look something like
{
  "csslint": {
    "important": 1,
    // ...
  },
  "jshint": {
    //...
  },
  "bower": {
    //...
  }
}
My only solution so far would be using a preprocessor and simply insert the options in the tasks (I couldn't figure out how to insert options otherwise). But this doesn't seem to be a very beautiful way...
                        
Most (all?) grunt tasks let you define options in the Gruntfile itself instead of their respective
.*rcfiles. So if you do that, you nearly get your one single configuration file for free.For example: