[PR #6557] [CLOSED] [WIP] Oxlint consistent type imports #60253

Closed
opened 2026-05-07 02:15:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6557
Author: @miski-h
Created: 1/5/2026
Status: Closed

Base: masterHead: oxlint-consistent-type-imports


📝 Commits (2)

  • 1c9d416 chore(oxlint): enforce consistent type imports
  • d1aacbb test: switch type import form to verify oxlint enforcement

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 .oxlintrc.json (+1 -1)
📝 packages/component-library/src/AlignedText.tsx (+1 -1)

📄 Description

The rule is already configured in oxlint with a defined preference.
This change promotes it from warning to error so it is enforced in CI.

No autofixes or code changes included.
Happy to close if this is premature due to existing violations.

As discussed in https://github.com/actualbudget/actual/issues/6548.

Summary by CodeRabbit

  • Chores
    • Enforced stricter TypeScript import consistency by raising the check to error-level.
    • Converted some imports to type-only form; no runtime or behavioral changes visible to users.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/6557 **Author:** [@miski-h](https://github.com/miski-h) **Created:** 1/5/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `oxlint-consistent-type-imports` --- ### 📝 Commits (2) - [`1c9d416`](https://github.com/actualbudget/actual/commit/1c9d416589c3590ee1b8e16fc4bd18e84f8b26ea) chore(oxlint): enforce consistent type imports - [`d1aacbb`](https://github.com/actualbudget/actual/commit/d1aacbb388b3bc87b3ae81d420ab4a1a9d1b1abd) test: switch type import form to verify oxlint enforcement ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.oxlintrc.json` (+1 -1) 📝 `packages/component-library/src/AlignedText.tsx` (+1 -1) </details> ### 📄 Description The rule is already configured in oxlint with a defined preference. This change promotes it from warning to error so it is enforced in CI. No autofixes or code changes included. Happy to close if this is premature due to existing violations. As discussed in https://github.com/actualbudget/actual/issues/6548. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Enforced stricter TypeScript import consistency by raising the check to error-level. * Converted some imports to type-only form; no runtime or behavioral changes visible to users. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-07 02:15:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#60253