mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-07 17:05:34 +02:00
Bump eslint
This commit is contained in:
parent
6c274059f8
commit
156e4ad860
2 changed files with 33 additions and 14 deletions
17
eslint.config.mjs
Normal file
17
eslint.config.mjs
Normal file
|
@ -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"),
|
||||||
|
}]);
|
30
package.json
30
package.json
|
@ -11,26 +11,28 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@theguild/remark-mermaid": "^0.3.0",
|
"@theguild/remark-mermaid": "^0.3.0",
|
||||||
"fumadocs-core": "15.2.2",
|
"fumadocs-core": "15.2.12",
|
||||||
"fumadocs-mdx": "11.5.7",
|
"fumadocs-mdx": "11.6.1",
|
||||||
"fumadocs-ui": "15.2.2",
|
"fumadocs-ui": "15.2.12",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.503.0",
|
||||||
"next": "15.2.4",
|
"next": "15.3.1",
|
||||||
"octokit": "^4.1.2",
|
"octokit": "^4.1.3",
|
||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0"
|
"react-dom": "^19.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"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/mdx": "^2.0.13",
|
||||||
"@types/node": "22.13.16",
|
"@types/node": "22.15.3",
|
||||||
"@types/react": "^19.0.12",
|
"@types/react": "^19.1.2",
|
||||||
"@types/react-dom": "^19.0.4",
|
"@types/react-dom": "^19.1.2",
|
||||||
"eslint": "^8",
|
"eslint": "^9",
|
||||||
"eslint-config-next": "15.2.4",
|
"eslint-config-next": "15.3.1",
|
||||||
"lightningcss": "^1.29.3",
|
"lightningcss": "^1.29.3",
|
||||||
"postcss": "^8.5.3",
|
"postcss": "^8.5.3",
|
||||||
"tailwindcss": "^4.0.17",
|
"tailwindcss": "^4.1.4",
|
||||||
"typescript": "^5.8.2"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue