Skip to content

Commit 051a124

Browse files
committed
chore: bump eslint
1 parent 69e6dcc commit 051a124

File tree

5 files changed

+417
-509
lines changed

5 files changed

+417
-509
lines changed

.eslintrc.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { FlatCompat } from "@eslint/eslintrc";
2+
import js from "@eslint/js";
3+
import path from "path";
4+
import { fileURLToPath } from "url";
5+
6+
const __filename = fileURLToPath(import.meta.url);
7+
const __dirname = path.dirname(__filename);
8+
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
recommendedConfig: js.configs.recommended,
12+
});
13+
14+
export default [
15+
...compat.extends("next/core-web-vitals", "plugin:prettier/recommended"),
16+
{
17+
files: ["**/*.{js,jsx,ts,tsx}"],
18+
rules: {
19+
"prettier/prettier": [
20+
"error",
21+
{
22+
endOfLine: "auto",
23+
},
24+
],
25+
"@next/next/no-img-element": "off",
26+
"react/jsx-no-target-blank": "off",
27+
},
28+
},
29+
];

package.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,18 @@
1616
"@mdx-js/react": "^3.1.0",
1717
"@mui/joy": "5.0.0-beta.52",
1818
"@next/mdx": "^15.4.6",
19-
"@radix-ui/react-dropdown-menu": "^2.1.15",
19+
"@radix-ui/react-dropdown-menu": "^2.1.16",
2020
"@types/mdx": "^2.0.13",
21-
"@usememos/mui": "0.0.1-alpha.26",
2221
"axios": "^1.11.0",
2322
"clsx": "^2.1.1",
2423
"copy-to-clipboard": "^3.3.3",
2524
"dayjs": "^1.11.13",
26-
"github-markdown-css": "^5.8.1",
2725
"gray-matter": "^4.0.3",
28-
"js-yaml": "^4.1.0",
2926
"lodash-es": "^4.17.21",
3027
"lucide-react": "^0.503.0",
3128
"next": "^15.4.6",
3229
"next-mdx-remote": "^5.0.0",
3330
"next-sitemap": "^4.2.3",
34-
"prismjs": "^1.30.0",
3531
"react": "^19.1.1",
3632
"react-dom": "^19.1.1",
3733
"react-markdown": "^10.1.0",
@@ -41,24 +37,24 @@
4137
"remark-gfm": "^4.0.1"
4238
},
4339
"devDependencies": {
44-
"@tailwindcss/postcss": "^4.1.11",
40+
"@eslint/eslintrc": "^3.3.1",
41+
"@eslint/js": "^9.33.0",
42+
"@tailwindcss/postcss": "^4.1.12",
4543
"@tailwindcss/typography": "^0.5.16",
4644
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
47-
"@types/js-yaml": "^4.0.9",
4845
"@types/lodash-es": "^4.17.12",
49-
"@types/node": "^22.17.1",
50-
"@types/prismjs": "^1.26.5",
46+
"@types/node": "^22.17.2",
5147
"@types/react": "^19.1.10",
52-
"@types/react-dom": "^18.3.7",
48+
"@types/react-dom": "^19.1.7",
5349
"code-inspector-plugin": "^0.18.3",
54-
"eslint": "^8.57.1",
50+
"eslint": "^9.33.0",
5551
"eslint-config-next": "^15.4.6",
5652
"eslint-config-prettier": "^10.1.8",
5753
"eslint-plugin-prettier": "^5.5.4",
5854
"postcss": "^8.5.6",
5955
"prettier": "^3.6.2",
6056
"react-icons": "^5.5.0",
61-
"tailwindcss": "^4.1.11",
57+
"tailwindcss": "^4.1.12",
6258
"typescript": "^5.9.2"
6359
}
6460
}

0 commit comments

Comments
 (0)