Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50856 - [eslint] 3.5.0-1 fails to parse basic JS

Attached to Project: Community Packages
Opened by Benoit Zugmeyer (alk) - Wednesday, 21 September 2016, 19:13 GMT
Last edited by Felix Yan (felixonmars) - Friday, 23 September 2016, 16:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

eslint 3.5.0 does not seem to support acorn 4.x: with a fully up-to-date Arch install, linting a basic JS code fails with a parsing error (see below). I guess removing the "Experimental dedupe" block in the PKGFILE fixes the issue.


Additional info:
* 3.5.0-1


Steps to reproduce:

$ echo 'a = { foo: "bar" }' | eslint --stdin --no-eslintrc --env es6

<text>
1:10 error Parsing error: Unexpected token :

✖ 1 problem (1 error, 0 warnings)
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 23 September 2016, 16:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.5.0-2

Loading...