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
camelCasenaming conventions, as opposed tounderscore_separatednaming conventions; for example:- const element_settings = {}; + const elementSettings = {};
Impacts:
Module developers