Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
JavaScript code must be consistent and free from syntax error and leaking variables and that it can be properly minified.
Proposed resolution
Detect errors and potential problems in JavaScript code with ESLint tool and fix them.
Comments
Comment #2
CTaPByK CreditAttribution: CTaPByK at MD Systems GmbH commentedChanges made here is required by default ESLint rules:
*spaced-comment
*quotes
*valid-jdoc
Comment #3
hass CreditAttribution: hass commentedThe code was eslint validated and was clean for sure. Has any core rule changed or why have you changed all these code?
Comment #4
hass CreditAttribution: hass commentedComment #6
hass CreditAttribution: hass commentedNo feedback for the rest of the changes. Closing.