๐ Bug: eslint-plugin-perfectionist's configs/recommended-natural not found in latest version
Closed this issue ยท 1 comments
JoshuaKGoldberg commented
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Expected
npx create-typescript-app --base everything
should create a repo with working pnpm lint
.
Actual
$ pnpm lint
> text-table-fast@0.0.0 lint /Users/josh/repos/text-table-fast
> eslint . --max-warnings 0
Oops! Something went wrong! :(
ESLint: 9.7.0
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './configs/recommended-natural' is not defined by "exports" in /Users/josh/repos/text-table-fast/node_modules/eslint-plugin-perfectionist/package.json imported from /Users/josh/repos/text-table-fast/eslint.config.js
at exportsNotFound (node:internal/modules/esm/resolve:299:10)
at packageExportsResolve (node:internal/modules/esm/resolve:646:9)
at packageResolve (node:internal/modules/esm/resolve:825:14)
at moduleResolve (node:internal/modules/esm/resolve:915:18)
at defaultResolve (node:internal/modules/esm/resolve:1132:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:526:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:249:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)
โELIFECYCLEโ Command failed with exit code 2.
Additional Info
๐
github-actions commented