esformatter-jsx icon indicating copy to clipboard operation
esformatter-jsx copied to clipboard

Can't format export async function ...

Open octohedron opened this issue 8 years ago • 1 comments

Getting unexpected token

export async function get(path, suppressRedBox) {
  return bodyOf(request('get', path, null, suppressRedBox));
}

JSFMT Settings

{
  "autoformat": false,
  "extensions": [
    "js",
    "jsx",
    "sublime-settings"
  ],
  "options": {
    "jsx": {
      "alignWithFirstAttribute": true,
      "attrsOnSameLineAsTag": false,
      "firstAttributeOnSameLine": false,
      "formatJSX": true,
      "maxAttrsOnTag": 1
    },
    "plugins": [
      "esformatter-jsx"
    ]
  }
}

Other files work fine, it's only failing there

octohedron avatar Oct 26 '16 11:10 octohedron

hi @octohedron,

what settings are u using? it seems to be working fine with [email protected]. It seems you're using sublime-jsfmt right?

royriojas avatar Nov 01 '16 15:11 royriojas