27 lines
969 B
JSON
27 lines
969 B
JSON
{
|
|
"extends": "next/core-web-vitals",
|
|
"rules": {
|
|
// Disable strict type checks for props to avoid excessive errors
|
|
"react/prop-types": "off",
|
|
// Allow JSX in .tsx files
|
|
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
|
|
// Allow unused variables when prefixed with _
|
|
"no-unused-vars": ["warn", {
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"destructuredArrayIgnorePattern": "^_"
|
|
}],
|
|
// Allow console statements for now (we should clean these up later)
|
|
"no-console": "off",
|
|
// Allow unescaped entities for better readability
|
|
"react/no-unescaped-entities": "off",
|
|
// Disable strict equality requirements
|
|
"eqeqeq": "warn",
|
|
// Disable next specific rules that are causing issues
|
|
"@next/next/no-document-import-in-page": "off",
|
|
"@next/next/no-img-element": "off",
|
|
// Disable exhaustive deps warning for now
|
|
"react-hooks/exhaustive-deps": "off"
|
|
}
|
|
}
|