-
-
Notifications
You must be signed in to change notification settings - Fork 886
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
latest
What command did you run?
No response
What does your .oxlintrc.json config file look like?
https://github.com/oxc-project/oxc/blob/main/editors/vscode/.oxlintrc.json
What happened?
Defining in VSCode settings.json a custom config Path like:
{
"oxc.configPath": "./editors/vscode/.oxlintrc.json"
}will crash the server:
thread 'main' panicked at /home/sysix/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ignore-0.4.23/src/gitignore.rs:229:9:
path is expected to be under the root
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Using the config Path without ./ will not crash the serer:
{
"oxc.configPath": "editors/vscode/.oxlintrc.json"
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter
{ "categories": { "correctness": "error", "perf": "error" }, "ignorePatterns": [ "**/fixtures" ] }