All checks were successful
Deploy Trade-In / changes (push) Successful in 10s
Deploy Trade-In / build-browser (push) Successful in 34s
Deploy Trade-In / test (push) Successful in 1m38s
Deploy Trade-In / build-backend (push) Successful in 1m29s
Deploy Trade-In / build-frontend (push) Successful in 3m21s
Deploy Trade-In / deploy (push) Successful in 1m18s
13 lines
563 B
JavaScript
13 lines
563 B
JavaScript
// ESLint flat config для tradein-mvp/frontend (#2208 CI-гейт).
|
||
// eslint-config-next в flat-формате через FlatCompat (next lint deprecated в Next 16,
|
||
// поэтому конфиг сразу совместим и с прямым `eslint .`).
|
||
import { FlatCompat } from "@eslint/eslintrc";
|
||
|
||
const compat = new FlatCompat({ baseDirectory: import.meta.dirname });
|
||
|
||
const eslintConfig = [
|
||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||
{ ignores: [".next/**", "node_modules/**", "out/**"] },
|
||
];
|
||
|
||
export default eslintConfig;
|