Skip to content

Commit ac5cec5

Browse files
authored
Merge branch 'main' into create-tests
2 parents 57897d1 + d1812c8 commit ac5cec5

File tree

3 files changed

+24
-11
lines changed

3 files changed

+24
-11
lines changed

.eslintrc.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

eslint.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { FlatCompat } from '@eslint/eslintrc';
2+
import js from '@eslint/js';
3+
import path from 'path';
4+
import { fileURLToPath } from 'url';
5+
6+
const __filename = fileURLToPath(import.meta.url);
7+
const __dirname = path.dirname(__filename);
8+
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
recommendedConfig: js.configs.recommended,
12+
});
13+
14+
export default [
15+
...compat.extends('next/core-web-vitals'),
16+
{
17+
rules: {
18+
'@typescript-eslint/no-explicit-any': 'warn',
19+
},
20+
},
21+
];

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@ant-design/icons": "^6.0.0",
1717
"@clerk/nextjs": "^4.31.5",
1818
"@clerk/themes": "^2.2.3",
19+
"@eslint/eslintrc": "^3.3.1",
1920
"@heroicons/react": "^2.0.18",
2021
"@jest/globals": "^29.7.0",
2122
"@testing-library/react": "^16.3.0",
@@ -41,6 +42,8 @@
4142
"eslint-config-next": "15.5.5",
4243
"jest": "^29.7.0",
4344
"jest-environment-jsdom": "^29.7.0",
45+
"eslint": "9.38.0",
46+
"eslint-config-next": "15.5.6",
4447
"postcss": "8.5.6",
4548
"prettier": "^3.5.3",
4649
"prettier-plugin-tailwindcss": "^0.7.1",

0 commit comments

Comments
 (0)