Skip to content

Instantly share code, notes, and snippets.

@AndrewRayCode
Created March 6, 2016 21:53
Show Gist options
  • Select an option

  • Save AndrewRayCode/aaf516d03c71fd787754 to your computer and use it in GitHub Desktop.

Select an option

Save AndrewRayCode/aaf516d03c71fd787754 to your computer and use it in GitHub Desktop.
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
},
},
"env": {
"node": true,
"es6": true
}
}
export test from './file.js';
@AndrewRayCode

Copy link
Copy Markdown
Author
eslint test.js

test/test.js
  1:8  error  Parsing error: Unexpected token test

✖ 1 problem (1 error, 0 warnings)

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