Skip to content

Latest rule change breaks with crash and no alternative #2360

@gaspard

Description

@gaspard

This commit breaks with eslint 3.19.0:
42efedb

Module build failed: Error: node_modules/eslint-config-react-app/index.js:
	Configuration for rule "no-use-before-define" is invalid:
	Value "[object Object]" no (or more than one) schemas match.

Referenced from:
    at Array.forEach (native)
    at Array.reduceRight (native)

Description

Running npm run build

"build": "cross-env BABEL_ENV=production react-scripts build",

Actual behavior

Crash with mentioned error.

Environment

Run these commands in the project folder and fill in their results:

react-scripts@1.0.6
v6.6.0
4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions