Requests / eslint.config.mjs
armand0e's picture
Optionally add name upon submission + update source models with Qwen3 2507 specifications
f15ff24
raw
history blame contribute delete
721 Bytes
import { dirname } from "path";
import { fileURLToPath } from "url";
import { defineConfig, globalIgnores } from "eslint/config";
import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
});
const eslintConfig = defineConfig([
...compat.extends("next/core-web-vitals"),
globalIgnores([
"node_modules/**",
".next/**",
".next/standalone/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
{
linterOptions: {
reportUnusedDisableDirectives: false,
},
},
]);
export default eslintConfig;