Add lint to CI, fix name collision in types