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.
By webchick on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.5.x
Introduced in version:
8.5.0-alpha1
Issue links:
Description:
As of Drupal 8.5, Drupal core's ESLint syntax checking enforces more rules, for more cohesive JavaScript. For a "preview" of what's to come, see the JavaScript clean-up issue tag.
- camelcase
- Variables should now use
camelCase
naming conventions, as opposed tounderscore_separated
naming conventions; for example:- const element_settings = {}; + const elementSettings = {};
Impacts:
Module developers