Coding conventions and JSHint update