guardian/membership-frontend — pull request #17 by davidrapson (2014-12-31 11:12:26+00:00)
Title: Gruntfile cleanup

Did a bit of a cleanup to the Gruntfile:

- Add [load-grunt-tasks](https://github.com/sindresorhus/load-grunt-tasks) to simplify loading of tasks
- Rename `jshint_conf.js` to `.jshintrc` for same reasons as [6959 on frontend](https://github.com/guardian/frontend/pull/6959)
- Add [jshint-stylish](https://github.com/sindresorhus/jshint-stylish) for better reporting
- Explicitly mark jshint exceptions in the source files, rather than manually excluding files. Preferable as it it forces us to document known exceptions using `/* jshint */` comments rather than just black-boxing a file.
- Add [grunt-jscs](https://github.com/jscs-dev/grunt-jscs) for automated checking of code-style errors. I've only enabled a very light set of rules so far—and am not running the task as part of CI yet so it's not part of the process yet—but I thought it would make sense to automate some of the coding-style fixes that we often suggest in PRs.

You will likely need to do an `npm install` locally to get grunt back up to speed.