mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add regex eslint plugin, fix lints (#59371)
This commit is contained in:
@@ -3762,7 +3762,7 @@ function convertJsonOptionOfListType(
|
||||
* \*\* # matches the recursive directory wildcard "**".
|
||||
* \/?$ # matches an optional trailing directory separator at the end of the string.
|
||||
*/
|
||||
const invalidTrailingRecursionPattern = /(^|\/)\*\*\/?$/;
|
||||
const invalidTrailingRecursionPattern = /(?:^|\/)\*\*\/?$/;
|
||||
|
||||
/**
|
||||
* Matches the portion of a wildcard path that does not contain wildcards.
|
||||
|
||||
Reference in New Issue
Block a user