-
-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
Description
eslint depends on espree@^4.0.0
, which pulls in 4.1.0 on a fresh install. since installing this version, we've been getting strange Parsing error
s on perfectly normal JSX syntax, e.g. in this build https://circleci.com/gh/Financial-Times/x-dash/1197. the referenced lines aren't anything weird. our .eslintrc.js
includes a few plugins, including eslint-plugin-react
, but is otherwise quite minimal.
when running npm install
, i did note that it output:
npm ERR! peer dep missing: acorn@^6.0.0, required by acorn-jsx@5.0.0
even though espree
includes acorn@^6.0.0
in its dependencies. seems like this might be a cause, if it's using an incompatible version of acorn from somewhere?
s100, ashharrison90, debugwand, doochik, yossarian21 and 6 more