Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't format export async function ... #88

Open
octohedron opened this issue Oct 26, 2016 · 1 comment
Open

Can't format export async function ... #88

octohedron opened this issue Oct 26, 2016 · 1 comment

Comments

@octohedron
Copy link

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

@royriojas
Copy link
Owner

hi @octohedron,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants