cfpb / generator-cf

Yeoman generator for Capital Framework
http://cfpb.github.io/capital-framework/getting-started/
Creative Commons Zero v1.0 Universal
9 stars 13 forks source link

Replace JSHint with ESLint #54

Closed ascott1 closed 9 years ago

ascott1 commented 9 years ago

This replaces the existing JSHint setup with ESLint as discussed in /cfpb/front-end #15. It's currently not linting the Gruntfile, though that could be changed if we relax a rule or two.

Review

Scotchester commented 9 years ago

:+1:

What rules would have to be relaxed to lint the Gruntfile?

ascott1 commented 9 years ago

We'd have to add 'use strict, remove trailing commas in the file, and change the use of reserved words to a warning (instead of an error) since grunt relies on using default.