Skip to content
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

lint multichain-testing #10312

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

lint multichain-testing #10312

wants to merge 7 commits into from

Conversation

turadg
Copy link
Member

@turadg turadg commented Oct 22, 2024

incidental

Description

#10305 used bypass:integration because it was just a change to linting, which should run before integration tests.

Unfortunately, that broke master because multichain-testing uses the same tsconfig and isn't run until integration.

Then I noticed its lint doesn't include TypeScript and had many errors.

This adds tsc to its yarn lint and fixes everything needed to get it passing.

It still doesn't bring linting of multichain-testing earlier than the Multichain E2E Tests workflow. So I still wouldn't have noticed the type import failure under bypass:integration. I don't think solving that is really worth the effort at this point.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

CI

Upgrade Considerations

n/a

@turadg turadg requested a review from a team as a code owner October 22, 2024 19:09
Copy link
Member

@0xpatrickdev 0xpatrickdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming CI is happy

multichain-testing/package.json Outdated Show resolved Hide resolved
"lint": "yarn lint:eslint",
"lint:eslint": "eslint .",
"lint:types": "tsc --noEmit",
"lint": "yarn tsc && yarn eslint .",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 at one point, i don't think this was possible due to type errors from dependencies

@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label Oct 22, 2024
Copy link

cloudflare-workers-and-pages bot commented Oct 22, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: f711d5f
Status: ✅  Deploy successful!
Preview URL: https://5155c4c1.agoric-sdk.pages.dev
Branch Preview URL: https://ta-lint-multichain.agoric-sdk.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants