lib: enable dot-notation eslint rule
There are currently only two instances of property access using square brackets (foo['bar']
) within the lib
folder. Fix those and enable an eslint rule to prefer dot notation (foo.bar
).
Eventually this could be enabled across the project but currently this would cause too much churn (152 instances would need to be changed, mostly within test
).
Refs: https://eslint.org/docs/rules/dot-notation
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
lib