Skip to content

lib: use destructuring for constants on the top-level module scope

This change is to unify the declaration for constants into using destructuring on the top-level-module scope, reducing some redundant code.

By the way, what about adding "prefer-destructuring" into the .eslintrc ?

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

lib

Merge request reports

Loading