Fix lint issues, add lint to the npm test