From d5e2973dce617f451e4eb07491b3a6874ea6ca47 Mon Sep 17 00:00:00 2001 From: xuatz Date: Sun, 22 Jun 2025 20:29:30 +0900 Subject: 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 --- packages/db/.oxlintrc.json | 22 ++++++++++++++++++++++ packages/db/package.json | 7 ------- 2 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 packages/db/.oxlintrc.json (limited to 'packages/db') diff --git a/packages/db/.oxlintrc.json b/packages/db/.oxlintrc.json new file mode 100644 index 00000000..44a3dcef --- /dev/null +++ b/packages/db/.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/db/package.json b/packages/db/package.json index e7819457..88dc80cd 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -20,18 +20,11 @@ "tsx": "^4.7.1" }, "devDependencies": { - "@karakeep/eslint-config": "workspace:^0.2.0", "@karakeep/prettier-config": "workspace:^0.1.0", "@karakeep/tsconfig": "workspace:^0.1.0", "@tsconfig/node22": "^22.0.0", "@types/better-sqlite3": "^7.6.11", "drizzle-kit": "^0.30.01" }, - "eslintConfig": { - "root": true, - "extends": [ - "@karakeep/eslint-config/base" - ] - }, "prettier": "@karakeep/prettier-config" } -- cgit v1.2.3-70-g09d2