initial tool setup and basic styles

This commit is contained in:
2025-09-04 14:13:55 +02:00
parent b212b4f596
commit fc8b07185d
19 changed files with 9016 additions and 68 deletions

View File

@@ -1,6 +1,8 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";
import mdx from 'eslint-plugin-mdx'
import markdown from '@eslint/markdown'
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@@ -20,6 +22,14 @@ const eslintConfig = [
"next-env.d.ts",
],
},
{
...mdx.flat,
files: ['**/*.{md,mdx}'],
},
{
files: ['**/*.md'],
...markdown.configs.recommended,
}
];
export default eslintConfig;