module.exports = { eslint: { dirs: ['apps', 'components', 'pages', 'configs', 'helpers', 'hocs', 'hooks'], // Only run ESLint on the 'pages' and 'utils' directories during production builds (next build) }, }