Skip to content

Commit 3e09f21

Browse files
committed
chore: update deps
1 parent e6f447e commit 3e09f21

File tree

7 files changed

+1968
-10263
lines changed

7 files changed

+1968
-10263
lines changed

bun.lock

Lines changed: 42 additions & 261 deletions
Large diffs are not rendered by default.

landing/eslint.config.mjs

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
import { dirname } from 'path';
2-
import { fileURLToPath } from 'url';
3-
import { FlatCompat } from '@eslint/eslintrc';
1+
import { defineConfig, globalIgnores } from 'eslint/config';
2+
import nextVitals from 'eslint-config-next/core-web-vitals';
3+
import nextTs from 'eslint-config-next/typescript';
44

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'),
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
// Override default ignores of eslint-config-next.
9+
globalIgnores([
10+
// Default ignores of eslint-config-next:
11+
'.next/**',
12+
'out/**',
13+
'build/**',
14+
'next-env.d.ts',
15+
]),
1416
{
1517
rules: {
1618
'react/no-unescaped-entities': 'off',
1719
},
1820
},
19-
];
21+
]);
2022

2123
export default eslintConfig;

0 commit comments

Comments
 (0)