aboutsummaryrefslogtreecommitdiffstats
path: root/apps/landing
diff options
context:
space:
mode:
Diffstat (limited to 'apps/landing')
-rw-r--r--apps/landing/.oxlintrc.json34
-rw-r--r--apps/landing/package.json12
2 files changed, 36 insertions, 10 deletions
diff --git a/apps/landing/.oxlintrc.json b/apps/landing/.oxlintrc.json
new file mode 100644
index 00000000..91dc201f
--- /dev/null
+++ b/apps/landing/.oxlintrc.json
@@ -0,0 +1,34 @@
+{
+ "$schema": "../../node_modules/oxlint/configuration_schema.json",
+ "extends": [
+ "../../tooling/oxlint/oxlint-base.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/apps/landing/package.json b/apps/landing/package.json
index d35ef885..ed396b85 100644
--- a/apps/landing/package.json
+++ b/apps/landing/package.json
@@ -8,8 +8,8 @@
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
- "lint": "eslint .",
- "lint:fix": "eslint . --fix",
+ "lint": "oxlint .",
+ "lint:fix": "oxlint . --fix",
"format": "prettier . --ignore-path ../../.prettierignore",
"format:fix": "prettier . --ignore-path ../../.prettierignore --write",
"typecheck": "tsc --noEmit"
@@ -28,7 +28,6 @@
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
- "@karakeep/eslint-config": "workspace:^0.2.0",
"@karakeep/prettier-config": "workspace:^0.1.0",
"@karakeep/tailwind-config": "workspace:^0.1.0",
"@karakeep/tsconfig": "workspace:^0.1.0",
@@ -42,12 +41,5 @@
"vite": "^5.1.0",
"vite-plugin-svgr": "^4.3.0"
},
- "eslintConfig": {
- "root": true,
- "extends": [
- "@karakeep/eslint-config/base",
- "@karakeep/eslint-config/react"
- ]
- },
"prettier": "@karakeep/prettier-config"
}