diff options
| author | xuatz <xzlow10@gmail.com> | 2025-06-22 20:29:30 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 12:29:30 +0100 |
| commit | d5e2973dce617f451e4eb07491b3a6874ea6ca47 (patch) | |
| tree | 9e134ac8c0b263cec755068082ca61c9646efd21 /packages/open-api | |
| parent | 91a9d3c1aee04d77b2a2d022821f4a7a38e315f3 (diff) | |
| download | karakeep-d5e2973dce617f451e4eb07491b3a6874ea6ca47.tar.zst | |
chore: migrate away from eslint to oxlint (#1642)
* chore: migrate away from eslint to oxlint
* revert turbo task name lint
* it seems like we can remove the seemingly default globals
Diffstat (limited to 'packages/open-api')
| -rw-r--r-- | packages/open-api/.oxlintrc.json | 22 | ||||
| -rw-r--r-- | packages/open-api/package.json | 10 |
2 files changed, 24 insertions, 8 deletions
diff --git a/packages/open-api/.oxlintrc.json b/packages/open-api/.oxlintrc.json new file mode 100644 index 00000000..44a3dcef --- /dev/null +++ b/packages/open-api/.oxlintrc.json @@ -0,0 +1,22 @@ +{ + "$schema": "../../node_modules/oxlint/configuration_schema.json", + "extends": [ + "../../tooling/oxlint/oxlint-base.json" + ], + "categories": { + "correctness": "warn" + }, + "env": { + "builtin": true, + "commonjs": true + }, + "ignorePatterns": [ + "**/*.config.js", + "**/*.config.cjs", + "**/.eslintrc.cjs", + "**/.next", + "**/dist", + "**/build", + "**/pnpm-lock.yaml" + ] +} diff --git a/packages/open-api/package.json b/packages/open-api/package.json index 900af481..d88543a9 100644 --- a/packages/open-api/package.json +++ b/packages/open-api/package.json @@ -10,7 +10,6 @@ "zod": "^3.24.2" }, "devDependencies": { - "@karakeep/eslint-config": "workspace:^0.2.0", "@karakeep/prettier-config": "workspace:^0.1.0", "@karakeep/tsconfig": "workspace:^0.1.0", "tsx": "^4.7.1" @@ -20,14 +19,9 @@ "generate": "tsx index.ts", "format": "prettier . --ignore-path ../../.prettierignore", "format:fix": "prettier . --write --ignore-path ../../.prettierignore", - "lint": "eslint ." + "lint": "oxlint .", + "lint:fix": "oxlint . --fix" }, "main": "index.ts", - "eslintConfig": { - "root": true, - "extends": [ - "@karakeep/eslint-config/base" - ] - }, "prettier": "@karakeep/prettier-config" } |
