Linting and reduce