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.
It has been more than a year since I switched to Local by Flywheel for the local development of WordPress websites. I must admit that it is one of the best tools available for local development 💯 Local by Flywheel uses Docker to create WordPress sites in separate containers.
- ESLint is a modern linting tool for JS development to make your code consistent and bug-free.
npm install eslint --globalto install ESLint globally.
- Go to your project in the terminal and run
eslint --initto initiate and setup linting for your project.
- Install and automate your workflow in VSCode using ESLint extension.
Coding standards are a way of improving the way you write code. They are what makes you a good developer. It is excellent to observe and practice the coding standards of any language in which you are working. WordPress also has its coding standards. All of them are readily available at the codex. These coding […]