react/jsx-curly-spacing
rule crashes ESLint 4.2.0 #1290
Closed
Description
opened on Jul 9, 2017
It looks like something changed (or broke) in how ESLint handles schemas between 4.1.1 and 4.2.0.
When I try to run ESLint with this rule enabled:
"react/jsx-curly-spacing": [2, {"when": "never", "children": true}]
I get the following error:
can't resolve reference #/definitions/basicConfig from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
Warning: [object Object]:
Configuration for rule "react/jsx-curly-spacing" is invalid:
refVal[2] is not a function Use --force to continue.
Quick link to the react/jsx-curly-spacing
schema
Update: I'm guessing eslint/eslint#8852 was the culprit.
Metadata
Assignees
Labels
No labels
Activity