I think it'd be easier to read this if it indented like:

```
  var allSpecs = ConfigParser.resolveFilePatterns(
       ConfigParser.getSpecs(config), false, config.configDir).filter(function(path) {
         return excludes.indexOf(path) < 0;
       });
```