oxc-project / oxc

⚓ A collection of JavaScript tools written in Rust.
https://oxc.rs
MIT License
10.03k stars 368 forks source link

Provide a better experience for `.oxlintrc.json` configuration files #4146

Open DonIsaac opened 2 weeks ago

DonIsaac commented 2 weeks ago

We should improve the DX of using .oxlintrc.json files to configure oxlint. Below is a (possibly incomplete) list of things I think we could improve:

Boshen commented 2 weeks ago

cc @mysteryven who may want to participate as well.

tylerlaprade commented 1 day ago

Also the documentation does not explain much about what various things do. I don't know what env and global are used for. I don't know the correct format of settings. I don't know the allowable values for a rule - is it just "error" and "warn"?