Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test step of build-test-deploy.yml is failing #11

Open
bhilaire1a opened this issue Nov 30, 2024 · 1 comment
Open

Test step of build-test-deploy.yml is failing #11

bhilaire1a opened this issue Nov 30, 2024 · 1 comment

Comments

@bhilaire1a
Copy link

bhilaire1a commented Nov 30, 2024

While doing the tutorial i noticed that the test workflow is failing because it is interactive by design.

 How would you like to configure ESLint? https://nextjs.org/docs/basic-features/eslint
25l❯  Strict (recommended)
   Base
 ⚠ If you set up ESLint yourself, we recommend adding the Next.js ESLint plugin. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
   Cancel
Error: Process completed with exit code 1.

The ESLINT needs some configuration to be run.
It works if you add the following

.eslintrc.json

{
  "extends": "next",
  "rules": {
    "react/no-unescaped-entities": "off"
  }
}

Another fix would be to actual fix the linter finding

./pages/index.js
20:9  Error: `'` can be escaped with `'`, `‘`, `'`, `’`.  react/no-unescaped-entities
@krgvas
Copy link

krgvas commented Dec 2, 2024

Came here to say the same thing. +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants