Beautify Your Custom Themes & Modules: Sniffing, Linting, and Testing
Sniffing, linting, and testing are important for the quality of Drupal core and contributed code. But what about your custom themes and modules? You can use the same tools for your custom code and incorporate them into your development and deployment workflow. We'll go over some of the sniffing, linting, and test tools available to beautify your code and make it ready for future upgrades.
We'll also talk about how to use those tools in your local development environment, pre-commit Git hooks, central code repository (Github, Gitlab, Bitbucket, etc.) CI/CD workflows to catch problems earlier and faster.
Not only will your custom themes and modules be better code, but code reviews will be faster and easier, and you'll be ready for PHP and Drupal core upgrades.
We'll also talk about how to use those tools in your local development environment, pre-commit Git hooks, central code repository (Github, Gitlab, Bitbucket, etc.) CI/CD workflows to catch problems earlier and faster.
Not only will your custom themes and modules be better code, but code reviews will be faster and easier, and you'll be ready for PHP and Drupal core upgrades.