Skip to content

Linter is not working when used with bun on Windows #951

@shvamabps

Description

@shvamabps

Describe the bug

I am trying to lint using oxfmt with bun, it is giving me below error

Image

Expected behavior

It should lint it properly without any errors whatsoever

How to reproduce

Create a new vuejs project using bun with oxfmt. And after that try running the lint script as mentioned below. The below scripts are autocreated when a new project is created using bun and oxfmt. It also adds oxlint script for including eslint. It is working with npm but not with bun.

{
    "lint": "run-s lint:*",
    "lint:oxlint": "oxlint . --fix",
    "lint:eslint": "eslint . --fix --cache",
}

the command would be

bun run lint

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions