aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mcp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mcp')
-rw-r--r--apps/mcp/.oxlintrc.json22
-rw-r--r--apps/mcp/package.json11
2 files changed, 24 insertions, 9 deletions
diff --git a/apps/mcp/.oxlintrc.json b/apps/mcp/.oxlintrc.json
new file mode 100644
index 00000000..44a3dcef
--- /dev/null
+++ b/apps/mcp/.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/apps/mcp/package.json b/apps/mcp/package.json
index 0e00aec0..bfa9d833 100644
--- a/apps/mcp/package.json
+++ b/apps/mcp/package.json
@@ -14,7 +14,6 @@
"karakeep-mcp": "dist/index.js"
},
"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",
@@ -26,8 +25,8 @@
"scripts": {
"build": "vite build && shx chmod +x dist/index.js",
"run": "tsx src/index.ts",
- "lint": "eslint .",
- "lint:fix": "eslint . --fix",
+ "lint": "oxlint .",
+ "lint:fix": "oxlint . --fix",
"format": "prettier . --ignore-path ../../.prettierignore",
"format:fix": "prettier . --write --ignore-path ../../.prettierignore",
"typecheck": "tsc --noEmit"
@@ -37,12 +36,6 @@
"url": "git+https://github.com/karakeep-app/karakeep.git",
"directory": "apps/mcp"
},
- "eslintConfig": {
- "root": true,
- "extends": [
- "@karakeep/eslint-config/base"
- ]
- },
"prettier": "@karakeep/prettier-config",
"dependencies": {
"@karakeep/sdk": "workspace:*",