Skip to content

Commit 34692cf

Browse files
committed
added no-control-regex
1 parent 8eb0dba commit 34692cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/mime.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const END_BEGINNING_WHITESPACE = /[^\r\n\t ]|$/;
2323
const START_ENDING_WHITESPACE = /[\r\n\t ]*$/;
2424

2525
function toASCIILower(str) {
26+
// eslint-disable-next-line no-control-regex
2627
if (!/[^\x00-\x7f]/.test(str)) return StringPrototypeToLowerCase(str);
2728
let result = '';
2829
for (let i = 0; i < str.length; i++) {

0 commit comments

Comments
 (0)