forked from stevejcl/dwarfium
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
31 lines (31 loc) · 885 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"root": true,
"extends": [
"eslint:recommended", // Basic ESLint rules
"next/core-web-vitals", // Next.js core web vitals
"plugin:testing-library/react", // Testing Library rules for React
"prettier" // Prettier plugin for formatting
],
"plugins": [ "testing-library" ], // Testing Library plugin
"overrides": [
{
"files": [
"**/__tests__/**/*.[jt]s?(x)", // Test files
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"globals": {
"describe": true,
"expect": true,
"it": true,
"test": true,
"xit": true,
"jest": true
}
}
],
"rules": {
"@next/next/no-img-element": "off", // Disable specific Next.js rule
"react-hooks/exhaustive-deps": "off" // Disable React Hooks exhaustive deps rule (if necessary)
// Add other project-specific rules here as needed
}
}