Skip to content

Commit 38a2bb3

Browse files
committed
feat: add lint and fix it
1 parent b2424f5 commit 38a2bb3

File tree

2 files changed

+374
-295
lines changed

2 files changed

+374
-295
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mock-openai-api",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "A mock OpenAI Compatible Provider API server",
55
"keywords": [
66
"openai",
@@ -35,7 +35,8 @@
3535
"dev": "ts-node src/index.ts",
3636
"start": "node dist/index.js",
3737
"test": "echo \"Error: no test specified\" && exit 1",
38-
"cli": "ts-node src/cli.ts"
38+
"cli": "ts-node src/cli.ts",
39+
"lint": "npx -y oxlint src/**/*.ts"
3940
},
4041
"dependencies": {
4142
"commander": "^14.0.0",

0 commit comments

Comments
 (0)