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
12 changes: 0 additions & 12 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import antfu from '@antfu/eslint-config';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import playwright from 'eslint-plugin-playwright';
import tailwind from 'eslint-plugin-tailwindcss';

export default antfu(
{
Expand All @@ -27,15 +24,6 @@ export default antfu(
},
// --- Accessibility Rules ---
jsxA11y.flatConfigs.recommended,
// --- Tailwind CSS Rules ---
...tailwind.configs['flat/recommended'],
{
settings: {
tailwindcss: {
config: `${dirname(fileURLToPath(import.meta.url))}/src/app/styles.css`,
},
},
},
// --- E2E Testing Rules ---
{
files: [
Expand Down
4 changes: 3 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const baseConfig: NextConfig = {
reactStrictMode: true,
reactCompiler: true,
trailingSlash: true,
experimental: {
optimizePackageImports: ['nextra-theme-docs', 'react-icons', 'qrcode.react'],
},
};

const withBundleAnalyzer = bundleAnalyzer({
Expand All @@ -23,7 +26,6 @@ const withBundleAnalyzer = bundleAnalyzer({

// Set up Nextra with its configuration
const withNextra = nextra({
latex: true,
contentDirBasePath: '/',
});

Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"scripts": {
"analyze": "next experimental-analyze",
"analyze:export": "next experimental-analyze --output",
"check:types": "tsc --noEmit --pretty",
"check:deps": "knip",
"dev": "next",
Expand All @@ -11,8 +12,6 @@
"postbuild": "pagefind --site .next/server/app --output-path out/_pagefind && cp out/404/index.html out/404.html"
},
"dependencies": {
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"next": "^16.1.1",
"next-themes": "^0.4.6",
"nextra": "^4.6.1",
Expand All @@ -23,6 +22,8 @@
},
"devDependencies": {
"@antfu/eslint-config": "^6.7.3",
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"@commitlint/types": "^20.3.1",
"@eslint-react/eslint-plugin": "^2.5.3",
"@next/bundle-analyzer": "^16.1.1",
Expand All @@ -36,11 +37,9 @@
"eslint-plugin-playwright": "^2.4.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"eslint-plugin-tailwindcss": "4.0.0-beta.0",
"knip": "^5.80.2",
"lefthook": "^2.0.13",
"pagefind": "^1.4.0",
"tailwindcss": "^4.1.18",
"typescript": "^5.9.3"
}
}
Loading
Loading