-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore: Dedupe @sentry/core
imports
#14529
Conversation
8535b91
to
05c4fcf
Compare
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't https://eslint.org/docs/latest/rules/no-duplicate-imports catch this?
I think we are not using this and are instead using something from biome there which does not seem to properly work (??) but not quite sure 😬 What I can say is that as of now it does not seem to actually do/check this xD |
eda9e70
to
66d838d
Compare
I noticed we have a whole bunch of files that have multiple imports from `@sentry/core`, so I went over all of those I could find and ran VSCode auto-import-ordering to clean this up. Would be nice to have this taken care of by eslint/biome, but somehow this does not seem to work... :(
66d838d
to
8cea1da
Compare
I noticed we have a whole bunch of files that have multiple imports from
@sentry/core
, so I went over all of those I could find and ran VSCode auto-import-ordering to clean this up. Would be nice to have this taken care of by eslint/biome, but somehow this does not seem to work... :(This for sure does not capture everything, but a good amount of duplication at least.