oxc/tasks/benchmark/benches
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
..
linter.rs feat(linter): add jsx-a11y settings (#1668) 2023-12-16 13:45:14 +08:00
minifier.rs refactor(minifier): make the minifier api only accept an ast (#990) 2023-10-14 00:51:29 +08:00
parser.rs fix(benchmark): use different data sets for benchmark and minifier test 2023-09-02 20:56:45 +08:00
prettier.rs feat(prettier): add the basics of comment printing (#1313) 2023-11-14 12:32:03 +00:00
semantic.rs feat(linter): eslint-plugin-import/no-self-import (#878) 2023-09-10 00:12:26 +08:00
transformer.rs feat(transformer/react-jsx): throw the pragma and pragmaFrag cannot be set when runtime is automatic error (#1196) 2023-11-10 12:50:54 +08:00