-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
ci: Add type check lint to CI #7100
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #7100 +/- ##
=======================================
Coverage 32.86% 32.86%
=======================================
Files 1001 1001
Lines 26743 26743
Branches 2101 2101
=======================================
Hits 8788 8788
Misses 17535 17535
Partials 420 420 ☔ View full report in Codecov by Sentry. |
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.
Cool!!!!!! LGTM!
A new `lint:tsc` command has been added to validate TypeScript types in the project. This lint command uses a separate configuration, `tsconfig.lint.ts`, which covers just the files that have no type errors. We can expand the type check coverage over time as we fix more type errors. One additional change was made to fix a TypeScript error that hade an impact on many files. The problem was caused by a TypeScript bug that causes the compiler to fail when it encounters certain unicode characters. Those characters were in a JSON file in the `unicode-confusables` package. They have been temporarily removed until this TypeScript error can be fixed. For more details, see microsoft/TypeScript#53519
f4a7696
to
fae7e29
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
: PR requires manual QA.No QA/E2E only
: PR does not require any manual QA effort. Prior to merging, ensure that you have successful end-to-end test runs in Bitrise.Spot check on release build
: PR does not require feature QA but needs non-automated verification. In the description section, provide test scenarios. Add screenshots, and or recordings of what was tested.QA Passed
label when QA has signed off (Only required if the PR was labeled withneeds-qa
)team-
(orexternal-contributor
label if your not a MetaMask employee)Description
A new
lint:tsc
command has been added to validate TypeScript types in the project. This lint command uses a separate configuration,tsconfig.lint.ts
, which covers just the files that have no type errors. We can expand the type check coverage over time as we fix more type errors.One additional change was made to fix a TypeScript error that hade an impact on many files. The problem was caused by a TypeScript bug that causes the compiler to fail when it encounters certain unicode characters. Those characters were in a JSON file in the
unicode-confusables
package. They have been temporarily removed until this TypeScript error can be fixed.For more details, see microsoft/TypeScript#53519
Issue
No related issue
Checklist