Skip to content

Commit eabec02

Browse files
committed
apply suggestions
1 parent 973e00c commit eabec02

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/config-array/src/config-array.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import * as posixPath from "@jsr/std__path/posix";
1111
import * as windowsPath from "@jsr/std__path/windows";
12-
import { minimatch } from "minimatch";
12+
import { Minimatch } from "minimatch";
1313
import createDebug from "debug";
1414

1515
import { ObjectSchema } from "@eslint/object-schema";
@@ -21,7 +21,6 @@ import { filesAndIgnoresSchema } from "./files-and-ignores-schema.js";
2121
//------------------------------------------------------------------------------
2222

2323
/** @typedef {import("./types.ts").ConfigObject} ConfigObject */
24-
/** @typedef {import("minimatch").Minimatch} Minimatch */
2524
/** @typedef {import("minimatch").MinimatchOptions} MinimatchOptions */
2625
/** @import * as PathImpl from "@jsr/std__path" */
2726

@@ -38,7 +37,6 @@ import { filesAndIgnoresSchema } from "./files-and-ignores-schema.js";
3837
// Helpers
3938
//------------------------------------------------------------------------------
4039

41-
const Minimatch = minimatch.Minimatch;
4240
const debug = createDebug("@eslint/config-array");
4341

4442
/**
@@ -60,7 +58,6 @@ const negatedMinimatchCache = new Map();
6058
const MINIMATCH_OPTIONS = {
6159
// matchBase: true,
6260
dot: true,
63-
allowWindowsEscape: true,
6461
};
6562

6663
/**

0 commit comments

Comments
 (0)