Fixed lint to exclude node_modules and started fixing some lint errors.