mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
## [0.6.0] - 2024-07-11 -5731e39ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno) ### Features -fb549e1linter: Add vitest/no-focused-tests rule (#4178) (mysteryven) -6c49007linter: Add fixer for @typescript-eslint/consistent-type-imports (#3984) (mysteryven) -278c3e9linter: Add fixer for jsx-a11y/aria-props (#4176) (DonIsaac) -2188144linter: Eslint-plugin-jest/prefer-hooks-in-order (#4052) (cinchen) -cc58614linter: Better schemas for allow/warn/deny (#4150) (DonIsaac) -c5b4be0linter: Add fixer for prefer-node-protocol (#4129) (DonIsaac) -7ec0c0blinter/eslint: Implement no-label-var (#4087) (Jelle van der Waa) ### Bug Fixes -ed4c54ceslint/radix: Detect yield Number.parseInt variant (#4110) (Jelle van der Waa) -e9ad03blinter: Fixer for no-debugger creates incorrect code (#4184) (DonIsaac) -bd69571linter: Fix top level return panic in eslint/array_callback_return (#4167) (Boshen) -c8f5664linter: Fix panic with unicode in unicorn/prefer_dom_node_dataset (#4166) (Boshen) -f2b3273linter: Fix fixer panic in typescript/consistent_indexed_object_style (#4165) (Boshen) -2334515linter: Panic in `get_enclosing_function` (#4121) (DonIsaac) -1b91d40linter: Incorrect fixer for `no-unused-labels` (#4123) (Don Isaac) -1729249linter: Incorrect fix in `no-single-promise-in-promise-methods` rule; (#4094) (DonIsaac) -cc7e893linter/tree-shaking: Avoid recursive function stackoverflow (#4191) (mysteryven) -28eeee0parser: Fix asi error diagnostic pointing at invalid text causing crash (#4163) (Boshen) -0f02608semantic: Bind `TSImportEqualsDeclaration`s (#4100) (Don Isaac) ### Performance -ddfa343diagnostic: Use `Cow<'static, str>` over `String` (#4175) (DonIsaac) ### Refactor -2687ebcreact: Use find_binding helper for finding React binding (#4108) (Jelle van der Waa) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
133 lines
No EOL
3.7 KiB
JSON
133 lines
No EOL
3.7 KiB
JSON
{
|
|
"name": "oxc-vscode",
|
|
"description": "oxc vscode extension",
|
|
"license": "MIT",
|
|
"version": "0.6.0",
|
|
"icon": "icon.png",
|
|
"publisher": "oxc",
|
|
"displayName": "Oxc",
|
|
"bugs": {
|
|
"url": "https://github.com/oxc-project/oxc/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/oxc-project/oxc.git",
|
|
"directory": "editors/vscode"
|
|
},
|
|
"categories": [
|
|
"Linters"
|
|
],
|
|
"keywords": [
|
|
"linter",
|
|
"oxc"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.90.0"
|
|
},
|
|
"sponsor": {
|
|
"url": "https://github.com/sponsors/boshen"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:javascript",
|
|
"onLanguage:javascriptreact",
|
|
"onLanguage:typescript",
|
|
"onLanguage:typescriptreact",
|
|
"onLanguage:vue",
|
|
"onLanguage:svelte"
|
|
],
|
|
"main": "./out/main.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "oxc.restartServer",
|
|
"title": "Restart Oxc Server",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.toggleEnable",
|
|
"title": "toggle enable",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.showOutputChannel",
|
|
"title": "Show Output Channel",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.showTraceOutputChannel",
|
|
"title": "Show Trace Output Channel",
|
|
"category": "Oxc"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "oxc",
|
|
"properties": {
|
|
"oxc_language_server.run": {
|
|
"scope": "resource",
|
|
"type": "string",
|
|
"enum": [
|
|
"onSave",
|
|
"onType"
|
|
],
|
|
"default": "onType",
|
|
"description": "Run the linter on save (onSave) or on type (onType)"
|
|
},
|
|
"oxc_language_server.enable": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "enable oxc language server"
|
|
},
|
|
"oxc_language_server.trace.server": {
|
|
"type": "string",
|
|
"scope": "window",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"enumDescriptions": [
|
|
"No traces",
|
|
"Error only",
|
|
"Full log"
|
|
],
|
|
"default": "off",
|
|
"description": "Traces the communication between VS Code and the language server."
|
|
},
|
|
"oxc_language_server.configPath": {
|
|
"type": "string",
|
|
"scope": "window",
|
|
"default": ".eslintrc",
|
|
"description": "Path to ESlint configuration."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"preinstall": "[ -f icon.png ] || curl https://raw.githubusercontent.com/Boshen/oxc-assets/main/logo-square-min.png --output icon.png",
|
|
"build": "pnpm run server:build:release && pnpm run compile && pnpm run package",
|
|
"compile": "esbuild client/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16 --minify --sourcemap",
|
|
"watch": "pnpm run compile --watch",
|
|
"package": "vsce package --no-dependencies -o oxc_language_server.vsix",
|
|
"install-extension": "code --install-extension oxc_language_server.vsix --force",
|
|
"server:build:debug": "cargo build -p oxc_language_server",
|
|
"server:build:release": "cross-env CARGO_TARGET_DIR=./target cargo build -p oxc_language_server --release",
|
|
"fmt:js": "prettier --write ./**/*.{js,ts,json}"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.2",
|
|
"@types/vscode": "1.80.0",
|
|
"@vscode/vsce": "^2.27.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.21.5",
|
|
"ovsx": "^0.9.1",
|
|
"prettier": "^3.3.1",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"vsce": {
|
|
"dependencies": false
|
|
}
|
|
} |