Passing js-hint errors