Skip to content

🐛 Bug Report: Biome complains about the TS import rule #185

@mountainash

Description

@mountainash

👟 Reproduction steps

After running bunx appwrite-cli types --language ts ./types to generate a TS file, the latest version of Biome (v3.1.0) complains about the import in line 1 being:

import { type Models } from 'node-appwrite';

instead of

import type { Models } from 'node-appwrite';

With the rule lint/style/useImportType being the cause.

👍 Expected behavior

Declaration ordered different

👎 Actual Behavior

Declaration ordered different

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Bun v1.2.19
Appwrite-cli v8.3.0
Running in GitHub Codespaces

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions