oxc/editors/vscode/package.json
github-actions[bot] 6168969f94
Release oxlint v0.4.4 (#3669)
## [0.4.4] - 2024-06-14

### Features

- 8f5655d linter: Add eslint/no-useless-constructor (#3594) (Don Isaac)
- 29c78db linter: Implement
@typescript-eslint/explicit-function-return-type (#3455) (kaykdm)
- 21d3425 linter: Typescript-eslint no-useless-empty-export (#3605)
(keita hino)
- 85c3b83 linter: Eslint-plugin-jest/max-nested-describes (#3585)
(cinchen)
- f6d9ca6 linter: Add `eslint/sort-imports` rule (#3568) (Wang Wenzhe)
- 046ff3f linter/eslint: Add `no_unreachable` rule. (#3238) (rzvxa)
- e32ce00 linter/jsdoc: Implement require-param-name rule (#3636) (Yuji
Sugiura)
- 110661c linter/jsdoc: Implement require-param-description (#3621)
(Yuji Sugiura)
- d6370f1 linter/jsdoc: Implement require-param-type rule (#3601) (Yuji
Sugiura)
- d9c5b33 semantic/cfg: Add `Condition` instruction. (#3567) (Ali
Rezvani)
- f2dfd66 semantic/cfg: Add iteration instructions. (#3566) (rzvxa)

### Bug Fixes

- f0b689d linter: Panic in jsdoc/require-param (#3590) (Don Isaac)
- e148a32 semantic/cfg: Correct unreachability propagation in
try-finally. (#3667) (Ali Rezvani)

### Refactor

- 84304b4 linter: Add a `ctx.module_record()` method (#3637) (Boshen)
- f98f777 linter: Add rule fixer (#3589) (Don Isaac)
- fa11644 linter: Pass `Rc` by value (#3587) (overlookmotel)
- f702fb9 semantic/cfg: Cleanup control flow and it's builder. (#3650)
(rzvxa)
- 5793ff1 transformer: Replace `&’a Trivias` with `Rc<Trivias>` (#3580)
(Dunqing)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-14 15:05:26 +08:00

133 lines
No EOL
3.7 KiB
JSON

{
"name": "oxc-vscode",
"description": "oxc vscode extension",
"license": "MIT",
"version": "0.4.4",
"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
}
}