[GH-ISSUE #7552] Update coding guidelines: separate import type statements are acceptable #52231

Closed
opened 2026-04-30 20:27:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @coderabbitai[bot] on GitHub (Apr 19, 2026).
Original GitHub issue: https://github.com/actualbudget/actual/issues/7552

Originally assigned to: @MatissJanis, @Copilot on GitHub.

Background

During review of PR #7503, a CodeRabbit comment flagged that import type { Browser, Locator } from '@playwright/test' should be consolidated into a single import using inline type qualifiers (i.e. import { test as base, type Browser, type Locator } from '@playwright/test').

However, this guideline was identified as incorrect by @MatissJanis — separate import type statements are valid and acceptable in this codebase.

Action Required

Update the coding guidelines (e.g. AGENTS.md or equivalent) to clarify that separate import type { ... } statements from the same module are acceptable and should not be flagged as violations.

References

/cc @MatissJanis

Originally created by @coderabbitai[bot] on GitHub (Apr 19, 2026). Original GitHub issue: https://github.com/actualbudget/actual/issues/7552 Originally assigned to: @MatissJanis, @Copilot on GitHub. ## Background During review of PR #7503, a CodeRabbit comment flagged that `import type { Browser, Locator } from '@playwright/test'` should be consolidated into a single import using inline `type` qualifiers (i.e. `import { test as base, type Browser, type Locator } from '@playwright/test'`). However, this guideline was identified as incorrect by @MatissJanis — separate `import type` statements are valid and acceptable in this codebase. ## Action Required Update the coding guidelines (e.g. `AGENTS.md` or equivalent) to clarify that separate `import type { ... }` statements from the same module are acceptable and should not be flagged as violations. ## References - PR: https://github.com/actualbudget/actual/pull/7503 - Comment: https://github.com/actualbudget/actual/pull/7503#discussion_r3107542366 /cc @MatissJanis
GiteaMirror added the maintenancegood first issue labels 2026-04-30 20:27:23 -05:00
Author
Owner

@MatissJanis commented on GitHub (Apr 19, 2026):

Instead of UPDATING the guidelines - we can REMOVE them because this is handled automatically by oxfmt/oxlint.

<!-- gh-comment-id:4276873100 --> @MatissJanis commented on GitHub (Apr 19, 2026): Instead of UPDATING the guidelines - we can REMOVE them because this is handled automatically by oxfmt/oxlint.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#52231