New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[eslint-config-turbo] 0.0.9 throws Ga(...).map is not a function error #4085
Comments
Will take a look, thanks for the report, can you try running with debug logging enabled: and share any more output? One minor thing, you shouldn't need to redeclare the rule in your config since you're extending from the config, and not the plugin. So |
Thanks for the tip on that rule as well! |
I had a similar issue Everything works fine for me using |
Still broken in |
Thanks for the reports, I haven't been able to reproduce this one on my end, if you could provide a small example project I can take a deeper look! |
Have a fix for this here: #4682 |
Will release a new canary shortly that you can use to validate! |
What version of Turborepo are you using?
0.0.9
What package manager are you using / does the bug impact?
Yarn v2/v3 (node_modules linker only)
What operating system are you using?
Mac
Describe the Bug
Updating from 0.0.8 to 0.0.9 throws the following error:
TypeError: Failed to load plugin 'turbo' declared in '../../.eslintrc.js » eslint-config-pm » eslint-config-turbo': Ga(...).map is not a function
We're using Typescript, we have a shared package for our eslint config.
Package config:
Root config:
While debugging this I've tried removing all other plugins, all the rule overrides, the env node, and the settings node without success.
Expected Behavior
Should run lint successfully.
To Reproduce
Update to 0.0.9 of eslint-config-turbo and attempt to run lint.
Reproduction Repo
No response
The text was updated successfully, but these errors were encountered: