Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ jobs:

- name: test
run: pnpm test:ci

- name: knip
run: pnpm knip
14 changes: 1 addition & 13 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default defineConfig([
"react/prop-types": "off",
"no-unused-vars": "off",
"no-undef": "off", // Handled by TypeScript
curly: "error",

"object-shorthand": "error",
"no-useless-rename": "error",
Expand All @@ -68,19 +69,6 @@ export default defineConfig([
},
],

"@typescript-eslint/naming-convention": [
"error",
{
selector: "interface",
format: ["PascalCase"],

custom: {
regex: "^I[A-Z]",
match: true,
},
},
],

"@typescript-eslint/consistent-type-imports": [
"error",
{
Expand Down
12 changes: 12 additions & 0 deletions knip.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://unpkg.com/knip@5/schema-jsonc.json",
"rules": {
"types": "warn"
},
"ignoreDependencies": ["server-only"],
"ignore": [
"mdx-plugins/remark-codehike.mjs",
"src/app/**/article/**/metadata*.tsx",
],
"tags": ["-lintignore"]
}
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const withMDX = mdx({
},
},
],
"@hbsnow/rehype-sectionize",
],
},
});
Expand Down
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
},
"dependencies": {
"@echoja/remark-custom-container": "^1.4.0",
"@hbsnow/rehype-sectionize": "1.0.7",
"@heroui/react": "2.8.6",
"@heroui/theme": "2.4.24",
"@mdx-js/loader": "^3.1.1",
"@mdx-js/react": "^3.1.1",
"@next/bundle-analyzer": "16.1.0",
"@next/env": "16.1.0",
"@next/mdx": "16.1.0",
"codehike": "1.0.7",
"dayjs": "^1.11.19",
Expand All @@ -32,7 +31,6 @@
"next-seo": "^7.0.1",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-wrap-balancer": "^1.1.1",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "4.0.1",
Expand All @@ -41,21 +39,16 @@
"vite": "^7.3.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@next/eslint-plugin-next": "16.1.0",
"@tailwindcss/postcss": "^4.1.18",
"@types/mdx": "^2.0.13",
"@types/node": "^25.0.3",
"@types/react": "19.2.7",
"@typescript-eslint/eslint-plugin": "^8.50.0",
"@typescript-eslint/parser": "^8.50.0",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^9.39.2",
"eslint-config-next": "16.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-mdx": "^3.6.2",
"eslint-plugin-mdx": "^3.6.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
Expand Down
Loading