Closed
Bug 1318493
Opened 7 years ago
Closed 7 years ago
Tell the eslint parser to use ecmaVersion 8
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: markh, Unassigned)
References
Details
Attachments
(1 file)
eslint currently fails on the shiny new "async" and "await" commands. The solution appears to be to add: "parserOptions": { "ecmaVersion": 8, }, to the eslintrc.js file. Mossop suggested I just stick it in the root.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8811960 [details] Bug 1318493 - Tell the eslint parser to use ecmaVersion 8. https://reviewboard.mozilla.org/r/93854/#review94362 ::: .eslintrc.js:14 (Diff revision 1) > "mozilla/import-globals": "warn", > }, > "env": { > "es6": true > }, > +"parserOptions": { Fix the indentation here please.
Attachment #8811960 -
Flags: review?(dtownsend) → review+
Comment hidden (mozreview-request) |
Pushed by mhammond@skippinet.com.au: https://hg.mozilla.org/integration/autoland/rev/590858b739ab Tell the eslint parser to use ecmaVersion 8. r=mossop
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/590858b739ab
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•6 years ago
|
Product: Testing → Firefox Build System
Updated•5 years ago
|
Version: Version 3 → 3 Branch
Updated•1 year ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•