Skip to content

Commit 0c4e324

Browse files
author
Arkadii Berezkin
committed
fix build for node 4
1 parent 6ac7f40 commit 0c4e324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/rules/no-namespace.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
const firstOption = context.options[0] || {};
3232
const ignoreFromPatternExpression =
3333
firstOption.ignoreFromPattern &&
34-
new RegExp(firstOption.ignoreFromPattern, 'u');
34+
new RegExp(firstOption.ignoreFromPattern);
3535

3636
return {
3737
'ImportNamespaceSpecifier': function (node) {

0 commit comments

Comments
 (0)