From 156e4ad86055d6fece47ea1ee7fdf92ac47fa675 Mon Sep 17 00:00:00 2001 From: blu3berryys Date: Tue, 29 Apr 2025 14:24:10 +0300 Subject: [PATCH] Bump eslint --- eslint.config.mjs | 17 +++++++++++++++++ package.json | 30 ++++++++++++++++-------------- 2 files changed, 33 insertions(+), 14 deletions(-) create mode 100644 eslint.config.mjs diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..1c8c33a --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,17 @@ +import { defineConfig } from "eslint/config"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import js from "@eslint/js"; +import { FlatCompat } from "@eslint/eslintrc"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all +}); + +export default defineConfig([{ + extends: compat.extends("next/core-web-vitals", "next/typescript"), +}]); \ No newline at end of file diff --git a/package.json b/package.json index 08724fa..37e7fa5 100644 --- a/package.json +++ b/package.json @@ -11,26 +11,28 @@ }, "dependencies": { "@theguild/remark-mermaid": "^0.3.0", - "fumadocs-core": "15.2.2", - "fumadocs-mdx": "11.5.7", - "fumadocs-ui": "15.2.2", - "lucide-react": "^0.487.0", - "next": "15.2.4", - "octokit": "^4.1.2", + "fumadocs-core": "15.2.12", + "fumadocs-mdx": "11.6.1", + "fumadocs-ui": "15.2.12", + "lucide-react": "^0.503.0", + "next": "15.3.1", + "octokit": "^4.1.3", "react": "^19.1.0", "react-dom": "^19.1.0" }, "devDependencies": { - "@tailwindcss/postcss": "^4.0.17", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "^9.25.1", + "@tailwindcss/postcss": "^4.1.4", "@types/mdx": "^2.0.13", - "@types/node": "22.13.16", - "@types/react": "^19.0.12", - "@types/react-dom": "^19.0.4", - "eslint": "^8", - "eslint-config-next": "15.2.4", + "@types/node": "22.15.3", + "@types/react": "^19.1.2", + "@types/react-dom": "^19.1.2", + "eslint": "^9", + "eslint-config-next": "15.3.1", "lightningcss": "^1.29.3", "postcss": "^8.5.3", - "tailwindcss": "^4.0.17", - "typescript": "^5.8.2" + "tailwindcss": "^4.1.4", + "typescript": "^5.8.3" } }