Commit graph

167 commits

Author SHA1 Message Date
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
IWANABETHATGUY
37d5152cce
feat(vscode): use icon to represent enabled status (#1675) 2023-12-14 20:59:26 +08:00
IWANABETHATGUY
e529b38e32
feat: add option to control enable/disable oxc linter (#1665)
1. Closed https://github.com/oxc-project/oxc/issues/1655
2023-12-14 12:45:34 +08:00
IWANABETHATGUY
7594a9d10f
chore: format typescript and json file in editors/vscode (#1667)
1. just format, nothing else
2023-12-14 02:01:24 +08:00
Boshen
31600ac8de
Release oxlint and vscode extension v0.0.20 2023-12-13 13:37:06 +08:00
IWANABETHATGUY
e63576d03c
feat(vscode): add a option to control oxc lint timing (#1659)
1. Closed https://github.com/oxc-project/oxc/issues/1653
2. Now you use `oxc-client.run` to control the lint timing.


[录屏 2023年12月12日
23时39分16秒.webm](https://github.com/oxc-project/oxc/assets/17974631/123326dc-6110-4f2e-9d48-ef1a3b0a4536)
2023-12-13 11:40:39 +08:00
Boshen
e2d5763d22
fix(vscode): fix the broken package path 2023-12-08 21:19:00 +08:00
Boshen
19e9f6a3a3
chore(vscode): use a smaller file for icon 2023-12-08 21:05:56 +08:00
Boshen
130a8f2b11
deps(vscode): bump dependencies 2023-12-08 21:04:47 +08:00
Boshen
71926a3853
Release oxlint and vscode extension v0.0.19 2023-12-08 18:28:57 +08:00
IWANABETHATGUY
8251a343aa
fix(oxc_vscode): vscode extension - check on file change (not on file save) (#1525)
1. Closed https://github.com/oxc-project/oxc/issues/1518

[录屏 2023年11月24日
12时08分14秒.webm](https://github.com/oxc-project/oxc/assets/17974631/6ff42edf-b837-466a-a9fa-a1d1244dfd45)
2023-11-27 12:20:50 +08:00
IWANABETHATGUY
9897cab220
chore(vscode): improve dx (#1528) 2023-11-24 15:05:27 +08:00
Boshen
f6a5d0e276
Release oxlint and vscode extension v0.0.18 2023-11-22 14:40:00 +08:00
Boshen
1a576f60a8
refactor(rust): move to workspace lint table (#1444) 2023-11-20 14:38:10 +08:00
Boshen
73d6d40778
rust: do not compile libs and bins that do not have tests (#1342) 2023-11-16 13:35:24 +08:00
Boshen
eca98cf2ed
s/web-infra-dev/oxc-project 2023-11-10 14:30:18 +08:00
Boshen
e4c097bb91
chore: mv dir editor/vscode to editors/vscode (#1203) 2023-11-09 21:13:11 +08:00