Code wasn't being linted properly, fixed code and lint rules.