oxc/editors/vscode/server
msdlisper 6a90cd4af4
feat(linter): add jsx-a11y settings (#1668)
When we developed linter for #1141 , we needed to configure some
settings for `jsx-a11y`, which was not supported before, but I am trying
to support it now.
like this:
```
fn config() -> serde_json::Value {
    serde_json::json!([2,{
        "ignoreNonDOM": true
    }])
}

fn settings() -> serde_json::Value {
    serde_json::json!({
        "jsx-a11y": {
            "components": {
                "Button": "button",
            }
        }
    })
}

let pass = vec![
    ("<Button />", Some(config()), Some(settings())),
];
```
2023-12-16 13:45:14 +08:00
..
src feat(linter): add jsx-a11y settings (#1668) 2023-12-16 13:45:14 +08:00
Cargo.toml feat(vscode): add a option to control oxc lint timing (#1659) 2023-12-13 11:40:39 +08:00