-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
kind: bugSomething isn't workingSomething isn't working
Description
Verify canary release
- I verified that the issue exists in the latest Turborepo canary release.
Link to code that reproduces this issue
This is a lint issue
Which canary version will you have in your reproduction?
2.4.0
Enviroment information
turbo 2.4.0
CLI:
Version: 2.4.0
Path to executable: /Users/jakeleventhal/Developer/rip-technologies/node_modules/.pnpm/turbo-darwin-arm64@2.4.0/node_modules/turbo-darwin-arm64/bin/turbo
Daemon status: Running
Package manager: pnpm9
Platform:
Architecture: aarch64
Operating system: macos
WSL: false
Available memory (MB): 32308
Available CPU cores: 10
Environment:
CI: None
Terminal (TERM): xterm-256color
Terminal program (TERM_PROGRAM): vscode
Terminal program version (TERM_PROGRAM_VERSION): 0.45.10
Shell (SHELL): /bin/zsh
stdin: false
Expected behavior
import turboConfig from 'eslint-config-turbo/flat';
Works
Actual behavior
import turboConfig from 'eslint-config-turbo/flat';
Gives a type error:
Could not find a declaration file for module 'eslint-config-turbo/flat'. '/Users/jakeleventhal/Developer/rip-technologies/node_modules/.pnpm/eslint-config-turbo@2.4.0_eslint@9.19.0_jiti@2.3.3__turbo@2.4.0/node_modules/eslint-config-turbo/flat/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/eslint-config-turbo` if it exists or add a new declaration (.d.ts) file containing `declare module 'eslint-config-turbo/flat';`
To Reproduce
Import flat config
Additional context
No response
humemm, mconnor and JackMBurch
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't working