-
-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Labels
status: needs investigationFurther research required...?Further research required...?type: bugSomething isn't working :(Something isn't working :(
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
mainbranch of the repository. - I have searched for related issues and found none that matched my issue.
Expected
Creating a new repo with npx create-typescript-app --preset everything should pass all initial validations.
Actual
β The pnpm lint --fix script failed. You should re-run it and fix its complaints.
β ExecaError: Command failed with exit code 1: pnpm lint --fix
β
β
β > [email protected] lint /Users/josh/repos/terminal-reprint
β > eslint . --max-warnings 0 --fix
β
β
β /Users/josh/repos/terminal-reprint/eslint.config.js
β 18:605 error The 'import.meta.dirname' is still an experimental feature and is not supported until Node.js 21.2.0 (backported: ^20.11.0). The configured version range is '>=20.19.0' n/no-unsupported-features/node-builtins
β
β β 1 problem (1 error, 0 warnings)
Additional Info
This could be resolved by any of...
- Not including
tsconfigRootDir: which goes against the tseslint recommendation (pending Enhancement: DefaulttsconfigRootDirto the running flat config's directory if availableΒ typescript-eslint/typescript-eslint#10841) - Configuring the rule to have a different Node.js range in
eslint.config.js: which is more configuration in the ESLint config file...
π there's no great solution today...
π
Metadata
Metadata
Assignees
Labels
status: needs investigationFurther research required...?Further research required...?type: bugSomething isn't working :(Something isn't working :(