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