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

chore (packages): Fix remaining lint issues (#9632) #9975

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

siarhei-agoric
Copy link
Contributor

closes: #9632
refs: #9965

Description

Fixed the following two issues:

1. packages/inter-protocol/src/proposals/startPSM.js
  351:1  warning  Expected JSDoc block to be aligned  jsdoc/check-alignment
- factored out typedef from the type cast so the cast is now a
  single-line comment.

2. packages/agoric-cli/test/inter-cli.test.js
  255:1  warning  `test.todo()` should not be used  ava/no-todo-test
  361:1  warning  `test.todo()` should not be used  ava/no-todo-test
  419:1  warning  `test.todo()` should not be used  ava/no-todo-test
  610:1  warning  `test.todo()` should not be used  ava/no-todo-test
  620:1  warning  `test.todo()` should not be used  ava/no-todo-test
  622:1  warning  `test.todo()` should not be used  ava/no-todo-test
  628:1  warning  `test.todo()` should not be used  ava/no-todo-test
- Opened a new issue #9965 to create missing tests and removed test.todo()

Security Considerations

None.

Scaling Considerations

None.

Documentation Considerations

None.

Testing Considerations

None: passed lint and type checker; actual code not affected.

Upgrade Considerations

None.

Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

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

I see the requests made in #9969 are done here.

In the future please don't make a new PR. It makes it much harder for the reviewer to regain context. Just push new commits to the same branch. Ideally as fixup! (see git autosquash) so that Mergify will amend the appropriate commits before they end up in master history.

@siarhei-agoric siarhei-agoric added agoric-cli package: agoric-cli test code-style defensive correctness patterns; readability thru consistency Inter-protocol Overarching Inter Protocol automerge:rebase Automatically rebase updates, then merge labels Aug 27, 2024
Copy link

cloudflare-workers-and-pages bot commented Aug 28, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: b9c90aa
Status: ✅  Deploy successful!
Preview URL: https://9c81f4c9.agoric-sdk.pages.dev
Branch Preview URL: https://sliakh-9632-fix-lint-2.agoric-sdk.pages.dev

View logs

@siarhei-agoric siarhei-agoric dismissed gibson042’s stale review August 28, 2024 01:46

Slack discussion: moving TODOs into a separate issue is OK in this particular case.

@mhofman
Copy link
Member

mhofman commented Aug 28, 2024

@Mergifyio refresh

Copy link
Contributor

mergify bot commented Aug 28, 2024

refresh

✅ Pull request refreshed

@siarhei-agoric siarhei-agoric force-pushed the sliakh-9632-fix_lint_2 branch 2 times, most recently from 8f2a96e to 4c72b38 Compare August 28, 2024 17:19
closes: #3632
refs: #9965

Fixed the following two issues:

1. packages/inter-protocol/src/proposals/startPSM.js
  351:1  warning  Expected JSDoc block to be aligned  jsdoc/check-alignment
- factored out typedef from the type cast so the cast is now a
  single-line comment.

2. packages/agoric-cli/test/inter-cli.test.js
  255:1  warning  `test.todo()` should not be used  ava/no-todo-test
  361:1  warning  `test.todo()` should not be used  ava/no-todo-test
  419:1  warning  `test.todo()` should not be used  ava/no-todo-test
  610:1  warning  `test.todo()` should not be used  ava/no-todo-test
  620:1  warning  `test.todo()` should not be used  ava/no-todo-test
  622:1  warning  `test.todo()` should not be used  ava/no-todo-test
  628:1  warning  `test.todo()` should not be used  ava/no-todo-test
- Opened a new issue #9965 to create missing tests and removed test.todo()
@siarhei-agoric siarhei-agoric force-pushed the sliakh-9632-fix_lint_2 branch from 4c72b38 to b9c90aa Compare August 28, 2024 17:35
@mergify mergify bot merged commit 12c0dab into master Aug 28, 2024
80 checks passed
@mergify mergify bot deleted the sliakh-9632-fix_lint_2 branch August 28, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agoric-cli package: agoric-cli automerge:rebase Automatically rebase updates, then merge code-style defensive correctness patterns; readability thru consistency Inter-protocol Overarching Inter Protocol test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Lint issues in agoric-sdk
4 participants