lib: use focused ESLint disabling in util.js
Instead of disabling all ESLint rules for two lines that require a violation of no-control-regex, disable only the no-control-regex rule.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines