-
-
Notifications
You must be signed in to change notification settings - Fork 5k
JSX linting fails due to espree minor release including major dependency bump #11018
Copy link
Copy link
Closed
Closed
Copy link
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionblockedThis change can't be completed until another issue is resolvedThis change can't be completed until another issue is resolvedbugESLint is working incorrectlyESLint is working incorrectlycoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and features
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionblockedThis change can't be completed until another issue is resolvedThis change can't be completed until another issue is resolvedbugESLint is working incorrectlyESLint is working incorrectlycoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and features
Espree has released a minor version 4.1.0 which bumps acorn-jsx to a new major version (5), which in turn breaks JSX linting (see eslint/js#393)
Acorn-jsxneeds to be used in a different way as of version 5,acornjs/acorn-jsx@ddcc01d
We are running command
eslint **/*.jsxin the terminal, errors thrown:error Parsing error: Unexpected token =ESLint: 5.7.0
Node: any
npm: any
Configuration