Check Standards/Practice Coding And Linting
All Varbase components have a list of ready tools and script commands. That is to help contributors on the step of checking standards.
Please make sure to run the check and linting commands while contributing a new feature or a fix patch/MR.
Specifically, there are two rule sets,
Before starting to check the code using
Follow with steps from Drupal.org docs on Installing Coder Sniffer
Check Drupal standard and practice coding.
Fix many errors and warnings automatically.
.ymlfiles with Drupal standard
.js, .jsonfiles with Drupal standard scripting format.
Check all styling
.cssfiles with Drupal standard styling format and order.