npm run lint

Category: Node.js & npm/yarn

npm run lint

Run the 'lint' script to check code for style and syntax issues

Runs the linter (usually ESLint) to check your code for style violations, unused variables, and potential bugs — without actually running the code.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.