Skip to content

Commit b4bba20

Browse files
chore: switch eslint to oxlint
1 parent 01f406c commit b4bba20

2 files changed

Lines changed: 90 additions & 3 deletions

File tree

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"postbuild:preact-utils": "cd packages/preact/utils/dist && shx mv -f preact/utils/src/index.d.ts . && shx rm -rf preact",
1919
"postbuild:react-utils": "cd packages/react/utils/dist && shx mv -f react/utils/src/index.d.ts . && shx rm -rf react",
2020
"postbuild:react-runtime": "cd packages/react/runtime/dist && shx mv -f react/runtime/src/*.d.ts . && shx rm -rf react",
21-
"lint": "pnpm lint:eslint && pnpm lint:tsc",
22-
"lint:eslint": "eslint 'packages/**/*.{ts,tsx,js,jsx}'",
21+
"lint": "pnpm lint:oxlint && pnpm lint:tsc",
22+
"lint:oxlint": "oxlint 'packages/**/*.{ts,tsx,js,jsx}'",
2323
"lint:tsc": "tsc -p tsconfig.json --noEmit",
2424
"lint-staged": "lint-staged",
2525
"test": "pnpm test:karma && pnpm test:mocha",
@@ -89,6 +89,7 @@
8989
"lint-staged": "^14.0.1",
9090
"microbundle": "^0.15.1",
9191
"mocha": "^10.0.0",
92+
"oxlint": "^1.3.0",
9293
"prettier": "^2.7.1",
9394
"shx": "^0.3.4",
9495
"sinon": "^14.0.0",
@@ -109,7 +110,10 @@
109110
},
110111
"overrides": {
111112
"socket.io": "~4.7.2"
112-
}
113+
},
114+
"onlyBuiltDependencies": [
115+
"esbuild"
116+
]
113117
},
114118
"packageManager": "pnpm@10.7.0",
115119
"volta": {

pnpm-lock.yaml

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)