Closed seeekr closed 9 years ago
this is supposed to work on latest esformatter - we have tests for ES6 object literal methods.. (see https://github.com/millermedeiros/esformatter/commit/abd9365d99c28056e9b08d99caca785fc87c0247) maybe standard-format is still using an old version
Hmm yeah, apparently we're still on ^0.6.0 there. Will post an issue there and link to this one. Thanks for helping!
We updated to esformatter 0.7.0.
file.es6.js
Using
npm install -g standard && standard --format
gives me this:On other instances of this issue I had checked with node versions 0.10.x and 0.12.x, too, and it didn't seem to matter that I'm using iojs.
And I think this bug originates somewhere in this project or below, not in the "standard" frontend that I use that brings a bunch of config settings for linting/formatting. If this is the wrong place to post this, then please direct me as I'm not familiar enough with these tools and projects in order to properly judge that! Thanks :)
(Also, ping #192)