Files
2026FIFAWorldCup/platform/web/eslint.config.mjs
wooo 05a28833c7
Some checks failed
2026 World Cup Quant Platform - Production Deployment / Code Quality, Security Gate & Testing (push) Successful in 3m37s
2026 World Cup Quant Platform - Production Deployment / Deploy to Production VM via Gitea CD (push) Failing after 22s
ci: make frontend lint noninteractive
2026-06-18 12:04:00 +08:00

24 lines
500 B
JavaScript

import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import { FlatCompat } from '@eslint/eslintrc';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
});
const eslintConfig = [
{
ignores: [
'.next/**',
'node_modules/**',
'next-env.d.ts',
],
},
...compat.extends('next/core-web-vitals', 'next/typescript'),
];
export default eslintConfig;