ESLint finds problems and enforces code style:
npm install eslint --save-dev
npx eslint --init
ESLint catches:
- Unused variables
- Missing semicolons (if configured)
- Potential bugs
- Style inconsistencies
Run it in your editor for real-time feedback.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Catch problems automatically
ESLint finds problems and enforces code style:
npm install eslint --save-dev
npx eslint --init
ESLint catches:
Run it in your editor for real-time feedback.