Skip to content

Commit

Permalink
Merge pull request microsoft#227491 from mjbvz/controlled-fish
Browse files Browse the repository at this point in the history
Allow lookbehind regexps in core
  • Loading branch information
mjbvz authored Sep 4, 2024
2 parents d1eab2b + 8649c9c commit 6fd5037
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 52 deletions.
50 changes: 0 additions & 50 deletions .eslintplugin/code-no-look-behind-regex.ts

This file was deleted.

1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,6 @@
"src/**/*.ts"
],
"rules": {
"local/code-no-look-behind-regex": "warn",
"local/code-import-patterns": [
"warn",
{
Expand Down
1 change: 0 additions & 1 deletion extensions/git/src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ export class Git {
const repoUri = Uri.file(repositoryRootPath);
const pathUri = Uri.file(pathInsidePossibleRepository);
if (repoUri.authority.length !== 0 && pathUri.authority.length === 0) {
// eslint-disable-next-line local/code-no-look-behind-regex
const match = /(?<=^\/?)([a-zA-Z])(?=:\/)/.exec(pathUri.path);
if (match !== null) {
const [, letter] = match;
Expand Down

0 comments on commit 6fd5037

Please sign in to comment.