Skip to content

build: Update @typescript-eslint packages & fix resulting linting issues #6657

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

Merged
merged 2 commits into from
Jan 5, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Jan 4, 2023

This updates @typescript-eslint/parser & @typescript-eslint/eslint-plugin from 3.9.0 to 5.48.0.

This brings with it a few changes rules, which I've updated the code to accomodate.

The biggest change is that I've updated most places where we had unbound-method errors. Now, I've marked the functions that can be passed in those places as this: void, making clear that there is no this context.

@mydea mydea requested review from lforst and Lms24 January 4, 2023 16:26
@mydea mydea self-assigned this Jan 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.84 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 61.43 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.61 KB (+0.02% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 54.98 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.38 KB (0%)
@sentry/browser - Webpack (minified) 66.62 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.41 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.65 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.81 KB (+0.02% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.25 KB (-0.01% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 42.99 KB (-0.01% 🔽)
@sentry/replay - Webpack (gzipped + minified) 38.24 KB (-0.02% 🔽)

@mydea mydea force-pushed the fn/update-eslint-typescript branch from 33c7d05 to 5af2e19 Compare January 5, 2023 09:23
@mydea mydea force-pushed the fn/update-eslint-typescript branch from 5af2e19 to 0659290 Compare January 5, 2023 09:50
@mydea mydea merged commit 92e951f into master Jan 5, 2023
@mydea mydea deleted the fn/update-eslint-typescript branch January 5, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants