Skip to content

Instantly share code, notes, and snippets.

@chase
Created July 19, 2015 15:49
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 chase/341f060e62bea8888955 to your computer and use it in GitHub Desktop.
Save chase/341f060e62bea8888955 to your computer and use it in GitHub Desktop.
Import errors
{
"plugins": ["import"],
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"strict": 0,
"no-unused-vars": 0,
"quotes": [ 2, "single" ]
},
"settings": {
"import/parser": "babel-eslint"
}
}
eslint test.js output:
```
test.js
1:8 error Map not found in 'immutable' import/named
1:13 error List not found in 'immutable' import/named
1:19 error Set not found in 'immutable' import/named
✖ 3 problems (3 errors, 0 warnings)
```
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "test.js",
"dependencies": {
"babel-eslint": "^3.1.23",
"eslint": "^1.0.0-rc-1",
"immutable": "^3.7.4",
"eslint-plugin-import": "^0.7.2"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT"
}
import {Map, List, Set} from 'immutable';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment