Skip to content

Commit 8d72197

Browse files
committed
Short term fix for Cypress tests to pass Next.js repo linting
Alternative is to install ESLint Cypress Plugin in the root directory (https://github.com/cypress-io/eslint-plugin-cypress).
1 parent a08244d commit 8d72197

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/with-cypress/cypress/integration/app.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* eslint-disable */
2+
// Disable ESLint to prevent failing linting inside the Next.js repo.
3+
// If you're using ESLint on your project, we recommend installing the ESLint Cypress plugin instead:
4+
// https://github.com/cypress-io/eslint-plugin-cypress
5+
16
describe('Navigation', () => {
27
it('should navigate to the about page', () => {
38
// Start from the index page

0 commit comments

Comments
 (0)