Add sorting autocomplete flags
Refactor finding .jshintrc for file (thanks @robacarp)