mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 20:58:48 +00:00
## [0.7.0] - 2024-08-05 -85a7ceasemantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing) ### Features -aaee07east: Add `AstKind::AssignmentTargetPattern`, `AstKind::ArrayAssignmentTarget` and `AstKind::ObjectAssignmentTarget` (#4456) (Dunqing) -9df7b56jsx-a11y/no-autofocus: Implement fixer support (#4171) (Jelle van der Waa) -b87bf70linter: Add fix capabilties to existing lint rules (#4560) (DonIsaac) -ddd8b27linter: Support conditional fix capabilities (#4559) (DonIsaac) -b952942linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac) -6543958linter: Add auto-fix metadata to RuleMeta (#4557) (Don Isaac) -85e8418linter: Add react/jsx-curly-brace-presence (#3949) (Don Isaac) -4c4da56linter: Add typescript-eslint/prefer-keyword-namespce (#4438) (Aza Walker) -d8c2a83linter: Eslint-plugin-vitest/no-import-node-test (#4440) (cinchen) -e3b0c40linter: Eslint-plugin-vitest/no-identical-title (#4422) (cinchen) -c936782linter: Eslint-plugin-vitest/no-conditional-expect (#4425) (cinchen) -27fdd69linter: Eslint-plugin-vitest/no-commented-out-tests (#4424) (cinchen) -51f5025linter: Add fixer for unicorn/prefer-string-starts-ends-with (#4378) (DonIsaac) -3c0c709linter: Add typescript-eslint/no-extraneous-class (#4357) (Jaden Rodriguez) -7afa1f0linter: Support suggestions and dangerous fixes (#4223) (DonIsaac) -acc5729linter: Eslint-plugin-vitest/expect-expect (#4299) (cinchen) -2213f93linter: Eslint-plugin-vitest/no-alias-methods (#4301) (cinchen) -c296bc3linter/eslint: Implement func-names (#4618) (Alexander S.) -e116ae0linter/eslint: Implement fixer for prefer-numeric-literals (#4591) (Jelle van der Waa) -eaf834flinter/eslint: Implement prefer-numeric-literals (#4109) (Jelle van der Waa) -db2fd70linter/eslint-plugin-promise: Implement no-webpack-loader-syntax (#4331) (Jelle van der Waa) -5f1e070linter/eslint-plugin-unicorn: Add fixer for prefer-code-point (#4353) (Jelle van der Waa) -ed49e16linter/eslint-plugin-unicorn: Implement fixer for prefer-dom-node-append (#4306) (Jelle van der Waa) -e2b15aclinter/react: Implement react-jsx-boolean-value (#4613) (Jelle van der Waa) -68efcd4linter/react-perf: Handle new objects and arrays in prop assignment patterns (#4396) (DonIsaac) ### Bug Fixes -368112cast: Remove `#[visit(ignore)]` from `ExportDefaultDeclarationKind`'s `TSInterfaceDeclaration` (#4497) (Dunqing) -d384f60ci: Remove unused(?) .html file (#4545) (Yuji Sugiura) -06aec77linter: Invalid binary expression with overflow (#4647) (DonIsaac) -b2da22blinter: Invalid tags in rule docs (#4646) (DonIsaac) -94440adlinter: Panic on invalid lang in `a11y/lang`. (#4630) (rzvxa) -e0b03f8linter: Improve the boundary for eslint/for-direction (#4590) (heygsc) -70b8cfalinter: Missing return in no-obj-calls recursion (#4594) (DonIsaac) -fe1356dlinter: Change no-unused-vars to nursery (#4588) (DonIsaac) -72337b1linter: Change typescript-eslint/no-namespace to restriction (#4539) (Don Isaac) -732f4e2linter: Fix `oxlint` allocator cfg (#4527) (overlookmotel) -289dc39linter: Overflow in no-obj-calls (#4397) (DonIsaac) -a664715linter/eslint: Fix invalid regexp in no_regex_spaces test (#4605) (Yuji Sugiura) -74fa75alinter/eslint: Drop quotes around max-params lint warning (#4608) (Jelle van der Waa) -9fcd9aelinter/eslint: Fix invalid regexp in no_control_regex test (#4544) (leaysgur) -ac08de8linter/react_perf: Allow new objects, array, fns, etc in top scope (#4395) (DonIsaac) -0fba738npm: SyntaxError caused by optional chaining in low version node (#4650) (heygsc) -73d2558oxlint: Fix oxlint failed to build due to missing feature (Boshen) ### Performance -6ff200dlinter: Change react rules and utils to use `Cow` and `CompactStr` instead of `String` (#4603) (DonIsaac) -f259df0linter: Make img-redundant-alt only build a regex once (#4604) (DonIsaac) -7585e16linter: Remove allocations for string comparisons (#4570) (DonIsaac) -b60bdf1linter: `no_shadow_restricted_names` only look up name in hashmap once (#4472) (overlookmotel) -81384f5linter: Avoid unnecessary work in `nextjs:no_duplicate_head` rule (#4465) (overlookmotel) -f7da22dlinter: Disable lint rules by file type (#4380) (DonIsaac) -348c1adsemantic: Remove `span` field from `Reference` (#4464) (overlookmotel) -6a9f4dbsemantic: Reduce storage size for symbol redeclarations (#4463) (overlookmotel)-a207923Replace some CompactStr usages with Cows (#4377) (DonIsaac) ### Refactor -7a75e0flinter: Use diagnostic codes in lint rules (#4349) (DonIsaac) -ccb1835semantic: Methods take `Span` as param, not `&Span` (#4470) (overlookmotel) -7cd53f3semantic: Var hoisting (#4379) (Dunqing) -c99b3ebsyntax: Give `ScopeId` a niche (#4468) (overlookmotel) Co-authored-by: Boshen <1430279+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.7.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://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/square.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": "^22.0.0",
|
|
"@types/vscode": "1.80.0",
|
|
"@vscode/vsce": "^2.27.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.23.0",
|
|
"ovsx": "^0.9.1",
|
|
"prettier": "^3.3.1",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"vsce": {
|
|
"dependencies": false
|
|
}
|
|
} |