jsoncrack.com/.eslintrc.json

16 lines
424 B
JSON
Raw Normal View History

2022-01-30 13:09:56 +03:00
{
2022-02-03 18:10:53 +03:00
"rules": {
2022-09-12 22:28:33 +03:00
"@next/next/no-img-element": "off",
"unused-imports/no-unused-imports": "error"
2022-02-03 22:06:58 +03:00
},
"extends": ["next/core-web-vitals"],
2022-09-12 22:28:33 +03:00
"plugins": ["testing-library", "unused-imports"],
2022-02-03 22:06:58 +03:00
"overrides": [
// Only uses Testing Library lint rules in test files
{
2022-09-12 21:53:31 +03:00
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
2022-02-03 22:06:58 +03:00
"extends": ["plugin:testing-library/react"]
}
]
}