Skip to content

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

@bhilaire1a

Description

@bhilaire1a

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions