Skip to content

.oxlintrc.json not found (because insert_package_json() searchs breadth-first instead of depth-first) #3818

@Rick-Phoenix

Description

@Rick-Phoenix

Description

I tried switching to the new oxlint lsp config, but there is an issue.
In my monorepo, I have just one .oxlintrc.json file at the root of the repo. The older config with lspconfig.oxlint.setup() was able to correctly identify the root directory and the server would attach. But with the new version, that is not the case, even if I manually replace the new root_dir function with the older one.

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