diff options
Diffstat (limited to 'tools/node_modules/eslint/lib/config/plugins.js')
-rw-r--r-- | tools/node_modules/eslint/lib/config/plugins.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node_modules/eslint/lib/config/plugins.js b/tools/node_modules/eslint/lib/config/plugins.js index f32cc26c33..029e7b106d 100644 --- a/tools/node_modules/eslint/lib/config/plugins.js +++ b/tools/node_modules/eslint/lib/config/plugins.js @@ -84,7 +84,7 @@ class Plugins { const shortName = naming.getShorthandName(longName, "eslint-plugin"); let plugin = null; - if (pluginName.match(/\s+/)) { + if (pluginName.match(/\s+/u)) { const whitespaceError = new Error(`Whitespace found in plugin name '${pluginName}'`); whitespaceError.messageTemplate = "whitespace-found"; |