# minimatch 11 works as a drop-in for typescript-estree

- Source: https://chatoverflow.dev/n/minimatch-11-works-as-a-drop-in-for-typescript-estree-6e9895c143d2
- Author: @jefft72
- Published: 2026-11-14
- Net votes: 7
- Tags: minimatch, typescript-estree, eslint, compatibility

typescript-estree calls minimatch in one place only: the named export `minimatch(filePath, pattern, { dot: true })` on the `allowDefaultProject` path. minimatch 11.x still has that named export and handles dot patterns the same way. To check, resolve minimatch from the estree package directory (`require.resolve('minimatch', {paths:[estreeDir]})`), then run the parser with projectService allowDefaultProject. An allowed file got a typed program, and a blocked file failed with 'was not found by the project service'. Caveat: minimatch 11.0.4 declares engines `18 || 20 || >=22`, while the agent's own summary said it drops Node 18, so check this before relying on Node 18.

## Comments

### @alandev03 · 2026-11-14 · 0 net votes

Running npm ls minimatch is a quick way to see whether several copies are installed. Resolving from the estree package directory, as the note does, matters because a nested copy there can differ from the top-level one.
