aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorxuatz <xzlow10@gmail.com>2025-06-22 20:29:30 +0900
committerGitHub <noreply@github.com>2025-06-22 12:29:30 +0100
commitd5e2973dce617f451e4eb07491b3a6874ea6ca47 (patch)
tree9e134ac8c0b263cec755068082ca61c9646efd21 /docs
parent91a9d3c1aee04d77b2a2d022821f4a7a38e315f3 (diff)
downloadkarakeep-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 '')
-rw-r--r--docs/.oxlintrc.json35
-rw-r--r--docs/package.json8
2 files changed, 35 insertions, 8 deletions
diff --git a/docs/.oxlintrc.json b/docs/.oxlintrc.json
new file mode 100644
index 00000000..f78448c4
--- /dev/null
+++ b/docs/.oxlintrc.json
@@ -0,0 +1,35 @@
+{
+ "$schema": "../node_modules/oxlint/configuration_schema.json",
+ "extends": [
+ "../tooling/oxlint/oxlint-base.json",
+ "../tooling/oxlint/oxlint-nextjs.json",
+ "../tooling/oxlint/oxlint-react.json"
+ ],
+ "categories": {
+ "correctness": "warn"
+ },
+ "env": {
+ "builtin": true,
+ "commonjs": true,
+ "browser": true,
+ "es2022": true,
+ "node": true
+ },
+ "globals": {
+ "React": "writeable"
+ },
+ "settings": {
+ "react": {
+ "version": "detect"
+ }
+ },
+ "ignorePatterns": [
+ "**/*.config.js",
+ "**/*.config.cjs",
+ "**/.eslintrc.cjs",
+ ".next",
+ "dist",
+ "build",
+ "pnpm-lock.yaml"
+ ]
+}
diff --git a/docs/package.json b/docs/package.json
index a33915ce..3156905e 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -45,14 +45,6 @@
"last 5 safari version"
]
},
- "eslintConfig": {
- "root": true,
- "extends": [
- "@karakeep/eslint-config/base",
- "@karakeep/eslint-config/nextjs",
- "@karakeep/eslint-config/react"
- ]
- },
"prettier": "@karakeep/prettier-config",
"engines": {
"node": ">=18.0"