Add overrides block in .eslintrc.js to parse cypress.config.js as CommonJS (sourceType: 'script') rather than ESM. The global sourceType: 'module' caused ESLint to flag require() as undefined, since require is not available in ESM scope. The project has no 'type: module' in package.json, so CommonJS is correct. Closes #31
1018 B
1018 B