mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
## [0.5.0] - 2024-06-27 -6796891ast: [**BREAKING**] Rename all instances of `BigintLiteral` to `BigIntLiteral`. (#3898) (rzvxa) -ae09a97ast: [**BREAKING**] Remove `Modifiers` from ts nodes (#3846) (Boshen) -1af5ed3ast: [**BREAKING**] Replace `Modifiers` with `declare` and `const` on `EnumDeclaration` (#3845) (Boshen) -ee6ec4east: [**BREAKING**] Replace `Modifiers` with `declare` and `abstract` on `Class` (#3841) (Boshen) -4456034ast: [**BREAKING**] Add `IdentifierReference` to `ExportSpecifier` (#3820) (Boshen) -0537d29cfg: [**BREAKING**] Move control flow to its own crate. (#3728) (rzvxa) -5c38a0fcodegen: [**BREAKING**] New code gen API (#3740) (Boshen) -4bce59dsemantic/cfg: [**BREAKING**] Re-export `petgraph` as `control_flow::graph`. (#3722) (rzvxa) ### Features -3ae2628linter: Change `no-import-assign` to correctness (#3928) (Boshen) -a89d501linter: Implement @typescript-eslint/no-non-null-asserted-nulli… (#3850) (kaykdm) -fc48cb4linter: eslint-plugin-jest/prefer-jest-mocked (#3865) (cinchen) -63b98bdlinter: Accept multiple fixes when fix code (#3842) (mysteryven) -328445blinter: Support `vitest/no-disabled-tests` (#3717) (mysteryven) -8c61f9clinter: Implement @typescript-eslint/no-non-null-assertion (#3825) (kaykdm) -080ecbdlinter: Add `no-fallthrough`. (#3673) (rzvxa) -9493fbelinter: Add `oxc/no-optional-chaining` rule (#3700) (mysteryven) -139adfelinter: Add `@typescript-eslint/no-import-type-side_effects` (#3699) (mysteryven) -5f84500linter/eslint-plugin-react: Implement prefer-es6-class (#3812) (Jelle van der Waa) -fafe67clinter/import: Implement max-dependencies (#3814) (Jelle van der Waa) -d5f6aebsemantic: Check for illegal symbol modifiers (#3838) (Don Isaac) ### Bug Fixes -4bd2c88linter: Fix and promote `getter-return` to correctness. (#3777) (rzvxa) -1190deelinter: False positives with setters in the `getter-return` rule. (#3714) (rzvxa) -de0690flinter: Do not run getter-return in typescript (#3693) (Boshen) -cf71c23linter: Edge case with infinite loops. (#3672) (rzvxa) -5902331oxlint: Properly report error (#3889) (Luca Bruno) -99a40cesemantic: `export default foo` should have `ExportLocalName::Default(NameSpan)` entry (#3823) (Boshen) -abd6ac8semantic/cfg: Discrete finalization path after `NewFunction`s. (#3671) (rzvxa) ### Performance -4f7ff7eDo not pass `&Atom` to functions (#3818) (overlookmotel) ### Refactor -4d2b7f1linter: `LintContext` can now only be constructed with a cfg enabled semantic. (#3761) (rzvxa) -7302429linter/prefer_number_properties: Remove the unused `IdentifierName` check (#3822) (Boshen) -d8ad321semantic: Make control flow generation optional. (#3737) (rzvxa) ### Testing -887da40linter: Enable `no-fallthrough` test with `disable-next-line`. (#3766) (rzvxa) 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.5.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
|
|
}
|
|
} |