What about extending the top-level `.jshintrc` and overriding just the environment? I.e.

```
extends: '../.jshintrc',
browser: false,
node: true
```

Not sure if that works from within the Gruntfile, though.