Skip to content

Instantly share code, notes, and snippets.

@luggage66
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luggage66/c4b18c1aff0018cb7270 to your computer and use it in GitHub Desktop.
Save luggage66/c4b18c1aff0018cb7270 to your computer and use it in GitHub Desktop.
{
"ecmaFeatures": {
"modules": true,
"arrowFunctions": true
},
"env": {
"es6": true
},
"rules": {
"semi": [2, "always"]
}
}
class TestClass
{
constructor() {
this.x = 4;
this.foo = (y) -> y + 1;
//^ Unexpected token line 6 column 5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment