Closed JaViLuMa closed 9 months ago
Thanks for reporting this. Unfortunately most of the projects we've rolled this out to internally don't use aliases, so we hadn't yet hit this issue.
I've reproduced and also found the upstream issue: https://github.com/import-js/eslint-plugin-import/issues/2617
I'll create a PR to disable the offending change now!
:tada: This issue has been resolved in version 5.0.2-canary.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Can you test the canary release (above) and let us know if that resolves your issue @JaViLuMa?
There's nothing else in that release :)
I definitely can! Give me few minutes!
But since the issue is only introduced in Typescript, maybe we can disable that rule or remove the includeInternal
inside the Typescript's import rules so it stays enabled for JS?
So I tested version 5.0.2-canary.1
and it definitely works now 😄
Was having this very same issue and 5.0.2-canary.1
resolved this right away. Thank you.
:tada: This issue has been resolved in version 5.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hello!
So from the title above there is a bug (maybe not) introduced when this line:
was enabled in the newer version of the style guide.
The bug is introduced when it comes to Typescript's path aliasing, which always gives me this error:
'level5' should be listed in the project's dependencies. Run 'npm i -S level5' to add
Where
level5
is literally the project I am currently working on:I have two projects that use this style guide and they both have the same identical setup when it comes to
tsconfig.json
and.eslintrc.json
.The project where the issue doesn't appear uses the
"@vercel/style-guide": "^4.0.2"
while this level5 one uses"@vercel/style-guide": "^5.0.1"
.This is my
.eslintrrc.js
file:And my
tsconfig.json
file: