Skip to content

Commit 75372b9

Browse files
committed
Migrate to oxlint
1 parent 96b71cf commit 75372b9

8 files changed

Lines changed: 306 additions & 658 deletions

File tree

.eslintrc.js

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

.oxlintrc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"options": {
4+
"typeAware": true,
5+
"typeCheck": true,
6+
"maxWarnings": 0
7+
},
8+
"plugins": [
9+
"eslint",
10+
"typescript",
11+
"unicorn",
12+
"oxc",
13+
"import",
14+
"node",
15+
"vitest"
16+
],
17+
"rules": {
18+
"vitest/expect-expect": "off"
19+
}
20+
}

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"codegen:github": "graphql-codegen --config src/github/codegen.ts",
5050
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
5151
"format:fix": "prettier --write \"**/*.{ts,tsx,md}\"",
52-
"lint": "eslint . --max-warnings 0",
52+
"lint": "oxlint",
5353
"test:integration": "vitest -c vitest.integration.config.ts"
5454
},
5555
"devDependencies": {
@@ -63,14 +63,10 @@
6363
"@octokit/core": "^6.1.2",
6464
"@octokit/graphql": "^8.1.1",
6565
"@octokit/graphql-schema": "^14.56.0",
66-
"@types/eslint": "^8.56.5",
6766
"@types/node": "^20.11.24",
68-
"@typescript-eslint/eslint-plugin": "^7.16.0",
69-
"@typescript-eslint/parser": "^7.16.0",
7067
"dotenv": "^16.4.5",
71-
"eslint": "^8.57.0",
72-
"eslint-config-prettier": "^9.1.0",
73-
"eslint-plugin-only-warn": "^1.1.0",
68+
"oxlint": "^1.63.0",
69+
"oxlint-tsgolint": "^0.22.1",
7470
"pino": "^9.3.2",
7571
"pino-pretty": "^11.2.2",
7672
"prettier": "^3.3.3",

0 commit comments

Comments
 (0)