Skip to content

Commit 72a3dc6

Browse files
committed
Switch to oxfmt/oxlint for formatting and apply
1 parent 42f9f58 commit 72a3dc6

106 files changed

Lines changed: 3037 additions & 3203 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.oxfmtrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"printWidth": 120,
4+
"semi": false,
5+
"arrowParens": "avoid",
6+
"bracketSpacing": false,
7+
"ignorePatterns": ["dist", "out", "coverage", "node_modules", "pnpm-lock.yaml", "pnpm-workspace.yaml"],
8+
"experimentalSortImports": {}
9+
}

.vscode/tasks.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@
5454
"script": "watch-web",
5555
"group": "build",
5656
"isBackground": true,
57-
"problemMatcher": [
58-
"$esbuild-watch"
59-
],
57+
"problemMatcher": ["$esbuild-watch"],
6058
"icon": {
6159
"id": "sync",
6260
"color": "terminal.ansiCyan"
@@ -77,4 +75,4 @@
7775
}
7876
}
7977
]
80-
}
78+
}

eslint.config.mjs

Lines changed: 0 additions & 22 deletions
This file was deleted.

jest.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ module.exports = {
88
"^.+\\.tsx?$": [
99
"ts-jest",
1010
{
11-
useESM: true
12-
}
13-
]
11+
useESM: true,
12+
},
13+
],
1414
},
15-
moduleFileExtensions: ["ts", "js"]
16-
};
15+
moduleFileExtensions: ["ts", "js"],
16+
}

oxlint.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import {defineConfig} from "oxlint"
2+
3+
export default defineConfig({
4+
categories: {
5+
correctness: "warn",
6+
},
7+
rules: {
8+
"eslint/no-unused-vars": "warn",
9+
},
10+
})

package.json

Lines changed: 101 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,105 @@
11
{
22
"name": "github-actions-enhanced",
3-
"type": "module",
43
"displayName": "GitHub Actions Enhanced",
5-
"publisher": "justin-grote",
6-
"icon": "resources/logo.png",
7-
"license": "MIT",
8-
"repository": {
9-
"url": "https://github.com/justingrote/vscode-github-actions-enhanced"
10-
},
11-
"description": "GitHub Actions with enhancements that are pending merge to the official extension.",
124
"version": "0.0.0-source",
13-
"engines": {
14-
"vscode": "^1.109.0",
15-
"node": ">22.21.0"
16-
},
17-
"packageManager": "[email protected]",
18-
"extensionKind": [
19-
"workspace"
20-
],
21-
"capabilities": {
22-
"virtualWorkspaces": true
23-
},
5+
"description": "GitHub Actions with enhancements that are pending merge to the official extension.",
246
"categories": [
257
"Other"
268
],
279
"keywords": [
28-
"github",
2910
"actions",
30-
"improved",
3111
"better",
3212
"enhanced",
33-
"workflow",
34-
"runs",
13+
"github",
14+
"github-actions",
15+
"improved",
3516
"jobs",
36-
"steps",
17+
"runs",
3718
"secrets",
38-
"variables",
3919
"settings",
40-
"github-actions"
41-
],
42-
"activationEvents": [
43-
"onView:workflows",
44-
"onView:settings",
45-
"workspaceContains:**/.github/workflows/**"
20+
"steps",
21+
"variables",
22+
"workflow"
4623
],
24+
"license": "MIT",
25+
"repository": {
26+
"url": "https://github.com/justingrote/vscode-github-actions-enhanced"
27+
},
28+
"publisher": "justin-grote",
29+
"type": "module",
4730
"main": "./dist/extension.js",
31+
"scripts": {
32+
"rd": "pnpm rolldown --config rolldown.config.ts",
33+
"build": "pnpm clean && pnpm rd --environment PRODUCTION:true",
34+
"watch": "pnpm rd --watch",
35+
"clean": "git clean -fdX -- ./dist ./out",
36+
"package": "pnpm vsce package --no-dependencies",
37+
"vscode:prepublish": "pnpm build",
38+
"lint": "tsgo --noEmit && oxlint",
39+
"lint-fix": "oxlint --fix",
40+
"format": "oxfmt --write \"**/*.ts\"",
41+
"format-check": "oxfmt --check \"**/*.ts\""
42+
},
43+
"dependencies": {
44+
"@actions/languageserver": "^0.3.44",
45+
"@actions/workflow-parser": "^0.3.17",
46+
"@noble/curves": "^2.0.1",
47+
"@noble/hashes": "^2.0.1",
48+
"@octokit/core": "^7.0.6",
49+
"@octokit/plugin-retry": "^8.0.1",
50+
"@octokit/plugin-throttling": "^11.0.1",
51+
"@octokit/request-error": "^7.0.0",
52+
"@octokit/rest": "^22.0.1",
53+
"@tanstack/db": "^0.5.26",
54+
"@tanstack/query-core": "^5.90.20",
55+
"@tanstack/query-db-collection": "^1.0.23",
56+
"buffer": "^6.0.3",
57+
"crypto-browserify": "^3.12.1",
58+
"dayjs": "^1.11.13",
59+
"elliptic": "6.6.1",
60+
"fast-deep-equal": "^3.1.3",
61+
"libsodium-wrappers": "^0.8.2",
62+
"path-browserify": "^1.0.1",
63+
"ssh-config": "^3.0.1",
64+
"stream-browserify": "^3.0.0",
65+
"timers-browserify": "^2.0.12",
66+
"ts-pattern": "^5.7.1",
67+
"tunnel": "0.0.6",
68+
"util": "^0.12.5",
69+
"uuid": "^3.4.0",
70+
"vscode-languageclient": "^9.0.1",
71+
"vscode-uri": "^3.1.0"
72+
},
73+
"devDependencies": {
74+
"@octokit/openapi-types": "^25.1.0",
75+
"@types/jest": "^29.5.14",
76+
"@types/node": "^22.19.11",
77+
"@types/uuid": "^3.4.13",
78+
"@types/vscode": "^1.109.0",
79+
"@typescript/native-preview": "7.0.0-dev.20260217.1",
80+
"@vscode/test-web": "^0.0.71",
81+
"@vscode/vsce": "^3.7.1",
82+
"cross-env": "^7.0.3",
83+
"glob": "^11.0.3",
84+
"globals": "^16.3.0",
85+
"jest": "^29.7.0",
86+
"node-loader": "^0.6.0",
87+
"oxfmt": "^0.34.0",
88+
"oxlint": "^1.49.0",
89+
"rolldown": "latest",
90+
"source-map-loader": "^4.0.2",
91+
"ts-jest": "^29.4.0",
92+
"ts-loader": "^9.5.2",
93+
"typescript": "^5.8.3"
94+
},
95+
"overrides": {
96+
"browserify-sign": {
97+
"elliptic": "6.6.1"
98+
},
99+
"create-ecdh": {
100+
"elliptic": "6.6.1"
101+
}
102+
},
48103
"contributes": {
49104
"languages": [
50105
{
@@ -517,79 +572,21 @@
517572
]
518573
}
519574
},
520-
"scripts": {
521-
"rd": "pnpm rolldown --config rolldown.config.ts",
522-
"build": "pnpm clean && pnpm rd --environment PRODUCTION:true",
523-
"watch": "pnpm rd --watch",
524-
"clean": "git clean -fdX -- ./dist ./out",
525-
"package": "pnpm vsce package --no-dependencies",
526-
"vscode:prepublish": "pnpm build",
527-
"lint": "tsgo --noEmit && eslint",
528-
"lint-fix": "eslint --fix",
529-
"format": "prettier --write \"**/*.ts\"",
530-
"format-check": "prettier --check \"**/*.ts\""
531-
},
532-
"devDependencies": {
533-
"@eslint/js": "^9.30.1",
534-
"@octokit/openapi-types": "^25.1.0",
535-
"@types/jest": "^29.5.14",
536-
"@types/node": "^22.19.11",
537-
"@types/uuid": "^3.4.13",
538-
"@types/vscode": "^1.109.0",
539-
"@typescript/native-preview": "7.0.0-dev.20260217.1",
540-
"@vscode/test-web": "^0.0.71",
541-
"@vscode/vsce": "^3.7.1",
542-
"cross-env": "^7.0.3",
543-
"eslint": "^9.30.1",
544-
"eslint-config-prettier": "^10.1.5",
545-
"glob": "^11.0.3",
546-
"globals": "^16.3.0",
547-
"jest": "^29.7.0",
548-
"node-loader": "^0.6.0",
549-
"prettier": "^3.6.2",
550-
"source-map-loader": "^4.0.2",
551-
"ts-jest": "^29.4.0",
552-
"ts-loader": "^9.5.2",
553-
"rolldown": "latest",
554-
"typescript": "^5.8.3",
555-
"typescript-eslint": "^8.35.1"
556-
},
557-
"dependencies": {
558-
"@actions/languageserver": "^0.3.44",
559-
"@actions/workflow-parser": "^0.3.17",
560-
"@noble/curves": "^2.0.1",
561-
"@noble/hashes": "^2.0.1",
562-
"@octokit/core": "^7.0.6",
563-
"@octokit/plugin-retry": "^8.0.1",
564-
"@octokit/plugin-throttling": "^11.0.1",
565-
"@octokit/request-error": "^7.0.0",
566-
"@octokit/rest": "^22.0.1",
567-
"@tanstack/db": "^0.5.26",
568-
"@tanstack/query-core": "^5.90.20",
569-
"@tanstack/query-db-collection": "^1.0.23",
570-
"buffer": "^6.0.3",
571-
"crypto-browserify": "^3.12.1",
572-
"dayjs": "^1.11.13",
573-
"elliptic": "6.6.1",
574-
"fast-deep-equal": "^3.1.3",
575-
"libsodium-wrappers": "^0.8.2",
576-
"path-browserify": "^1.0.1",
577-
"ssh-config": "^3.0.1",
578-
"stream-browserify": "^3.0.0",
579-
"timers-browserify": "^2.0.12",
580-
"ts-pattern": "^5.7.1",
581-
"tunnel": "0.0.6",
582-
"util": "^0.12.5",
583-
"uuid": "^3.4.0",
584-
"vscode-languageclient": "^9.0.1",
585-
"vscode-uri": "^3.1.0"
575+
"activationEvents": [
576+
"onView:settings",
577+
"onView:workflows",
578+
"workspaceContains:**/.github/workflows/**"
579+
],
580+
"extensionKind": [
581+
"workspace"
582+
],
583+
"icon": "resources/logo.png",
584+
"engines": {
585+
"node": ">22.21.0",
586+
"vscode": "^1.109.0"
586587
},
587-
"overrides": {
588-
"browserify-sign": {
589-
"elliptic": "6.6.1"
590-
},
591-
"create-ecdh": {
592-
"elliptic": "6.6.1"
593-
}
588+
"packageManager": "[email protected]",
589+
"capabilities": {
590+
"virtualWorkspaces": true
594591
}
595592
}

0 commit comments

Comments
 (0)