I recently had the opportunity of contributing code to the upcoming default theme of WordPress — Twenty Nineteen on GitHub. The project was developing at a quite fast pace. It was receiving an average of 20 to 30 commits and PRs — pull requests — on a daily basis.
Category: Learning (page 1 of 1)
👀 TL;DR
- ESLint is a modern linting tool for JS development to make your code consistent and bug-free.
- Use
npm install eslint --global
to install ESLint globally. - Go to your project in the terminal and run
eslint --init
to initiate and setup linting for your project. - Install and automate your workflow in VSCode using ESLint extension.