JavaScript coding standards
eslint settings to impose Drupal JavaScript coding standards
JavaScript best practices
This page covers DOM and Drupal specific code styles.
ESLint settings
Settings to use for ESLint to ensure coding standards
JavaScript API documentation and comment standards
Documentation standards for JavaScript
jQuery coding standards
Prefix variables that point to jQuery objects with a dollar sign($)