We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
virtual:
1 parent 067b9bf commit 2441408Copy full SHA for 2441408
lib/util/get-allow-modules.js
@@ -49,7 +49,7 @@ module.exports.schema = {
49
type: "array",
50
items: {
51
type: "string",
52
- pattern: "^(?:@[a-zA-Z0-9_\\-.]+/)?[a-zA-Z0-9_\\-.]+$",
+ pattern: "^(?:virtual:)?(?:@[a-zA-Z0-9_\\-.]+/)?[a-zA-Z0-9_\\-.]+$",
53
},
54
uniqueItems: true,
55
}
0 commit comments