Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Messages when running eslint: can't resolve reference #/definitions/basicConfig #3743

Closed
Mardak opened this issue Oct 19, 2017 · 6 comments
Closed
Assignees

Comments

@Mardak
Copy link
Member

Mardak commented Oct 19, 2017

@Standard8 looks like this started with the eslint 4 update from #3705:

> esw --ext=.js,.jsm,.json,.jsx .

can't resolve reference #/definitions/basicConfig from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
✓ Clean (1:15:59 PM)

Before:

> esw --ext=.js,.jsm,.json,.jsx .

✓ Clean (1:15:16 PM)
@Mardak
Copy link
Member Author

Mardak commented Oct 19, 2017

Looks like probably eslint-plugin-react:

eslint-plugin-react/lib/rules/jsx-curly-spacing.js:        basicConfigOrBoolean: {
eslint-plugin-react/lib/rules/jsx-curly-spacing.js:              $ref: '#/definitions/basicConfigOrBoolean'
eslint-plugin-react/lib/rules/jsx-curly-spacing.js:              $ref: '#/definitions/basicConfigOrBoolean'

@Mardak
Copy link
Member Author

Mardak commented Oct 19, 2017

@Mardak
Copy link
Member Author

Mardak commented Oct 19, 2017

@Standard8 any particular reason for "eslint-plugin-react": "7.1.0", vs 7.2.0 or later that should have this fixed?

@tspurway tspurway added this to the Reserve Backlog milestone Oct 23, 2017
@Mardak
Copy link
Member Author

Mardak commented Oct 24, 2017

I'm guessing the 7.1.0 for activity stream was picked to match that in mozilla-central, but that change was from 4 months ago, so we might be okay just updating to something newer… ? https://bugzilla.mozilla.org/show_bug.cgi?id=1379092

@Standard8
Copy link
Member

@Mardak I think picking up latest should be fine if it works for you. Generally having external repos on the same/a later version than central is a good thing IMO.

@Mardak
Copy link
Member Author

Mardak commented Nov 29, 2017

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

Successfully merging a pull request may close this issue.

3 participants