Fix require chalk in lint.js