Skip to contentIntroduction
- Linting is critical to any JavaScript workflow for identifying coding errors.
- We use ESLint, which is the most popular and well-developed option for this purpose.
- Run
pnpm lint
to identify any code consistency/formatting errors.
- Run
pnpm lint:fix
to auto-fix as many linting errors as possible.
Future
- Combining all the different ESLint tools is a bit complicated, especially with TypeScript and Prettier
- XO is a really interesting project which is super opinionated by default, but connects all these different tools together without any issues