mirror of
https://github.com/hanzoai/eslint.git
synced 2026-10-30 19:38:10 +00:00
* fix: improve type support for isolated dependencies in pnpm * update Knip config * update dependencies
10 lines
307 B
JavaScript
10 lines
307 B
JavaScript
import fs from "node:fs";
|
|
|
|
const nodeModulesURL = new URL("../../node_modules", import.meta.url);
|
|
|
|
if (fs.existsSync(nodeModulesURL)) {
|
|
// eslint-disable-next-line no-console -- Used for interactive output.
|
|
console.error("Delete node_modules to run the pnpm type support test.");
|
|
process.exitCode = 1;
|
|
}
|