-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(repo): migrate to eslint #12620
Conversation
7d944fa
to
2cf1ba2
Compare
Please ensure that this PR:
A repository administrator is required to review & merge this change. |
2cf1ba2
to
3510e6e
Compare
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.detectIndentation": false, | ||
"editor.formatOnSave": true, | ||
"editor.insertSpaces": false, |
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.
I'd like to use space in ALL places instead of tabs one day🙏
3510e6e
to
38f7430
Compare
fcbba77
to
800b89a
Compare
1c92785
to
cf1496d
Compare
squash to graphql-api
cf1496d
to
54a4dd4
Compare
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.
Thank you for taking this on, looks good to me. Paid special attention to analytics, core, and umbrella package. Have we run the integ test suite against this to double check? Also looks like we have a minor bundle size regression that needs to be adjusted.
Description of changes
typescript
5.0.2 in the workspace!tsconfig.json
setup and its branching across packages../../../module
import pathseslint --fix
for each package to auto fix lint issues (approximately 80% of the changes), plus manual fixes (approximately 20% of the changes)NOTE: This PR upgrades typescript 5.0.2 which breaks the existing jest set up, this PR will depends on #12607 to work (hence marked as Draft PR, and currently
__tests__
is ignored by eslint ).NOTE: Please DO NOT click on update branch button. Thanks
What's new after rebasing off origin/main
__tests__
to let the unit tests run (in the commits that are with message: "squash to the previous"...)Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.