|
Last change
on this file was b8093a0, checked in by imbrsk <boris696boris@…>, 3 days ago |
|
Merge iknow-remaster into frontend/
Bring the Next.js frontend into this repository as a monorepo subdirectory,
preserving its full commit history via a subtree merge.
|
-
Property mode
set to
100644
|
|
File size:
524 bytes
|
| Rev | Line | |
|---|
| [65f7b64] | 1 | import { dirname } from "path";
|
|---|
| 2 | import { fileURLToPath } from "url";
|
|---|
| 3 | import { FlatCompat } from "@eslint/eslintrc";
|
|---|
| 4 |
|
|---|
| 5 | const __filename = fileURLToPath(import.meta.url);
|
|---|
| 6 | const __dirname = dirname(__filename);
|
|---|
| 7 |
|
|---|
| 8 | const compat = new FlatCompat({
|
|---|
| 9 | baseDirectory: __dirname,
|
|---|
| 10 | });
|
|---|
| 11 |
|
|---|
| 12 | const eslintConfig = [
|
|---|
| 13 | ...compat.extends("next/core-web-vitals", "next/typescript"),
|
|---|
| 14 | {
|
|---|
| 15 | ignores: [
|
|---|
| 16 | "node_modules/**",
|
|---|
| 17 | ".next/**",
|
|---|
| 18 | "out/**",
|
|---|
| 19 | "build/**",
|
|---|
| 20 | "next-env.d.ts",
|
|---|
| 21 | ],
|
|---|
| 22 | },
|
|---|
| 23 | ];
|
|---|
| 24 |
|
|---|
| 25 | export default eslintConfig;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.