diff --git a/lib/util.js b/lib/util.js index d5c3b3a8be8cbc..f8845e4153947b 100644 --- a/lib/util.js +++ b/lib/util.js @@ -87,10 +87,11 @@ const errorToString = Error.prototype.toString; let CIRCULAR_ERROR_MESSAGE; let internalDeepEqual; -/* eslint-disable */ +/* eslint-disable no-control-regex */ const strEscapeSequencesRegExp = /[\x00-\x1f\x27\x5c]/; const strEscapeSequencesReplacer = /[\x00-\x1f\x27\x5c]/g; -/* eslint-enable */ +/* eslint-enable no-control-regex */ + const keyStrRegExp = /^[a-zA-Z_][a-zA-Z_0-9]*$/; const numberRegExp = /^(0|[1-9][0-9]*)$/;