eslint.config.mjs
Rama main · réplica de lectura del repositorio original.
import nextCoreWebVitals from 'eslint-config-next/core-web-vitals'
const config = [
...nextCoreWebVitals,
{
rules: {
// Next 16 / eslint-plugin-react-hooks v7: compiler rules; opt out until refactors (RHF, Embla, etc.)
'react-hooks/refs': 'off',
'react-hooks/set-state-in-effect': 'off',
'react-hooks/immutability': 'off',
'react-hooks/incompatible-library': 'off',
},
},
]
export default config