-
-
Notifications
You must be signed in to change notification settings - Fork 239
Imported symbols are erroneously detected undefined when using JSX #17
Comments
+1 |
This is because ESLint doesn't yet support modules in our rules. See eslint/eslint#1903 |
@nzakas, has that changed in the last 13 days? Currently on the website there's the Note: I'm not using JSX |
Yup. We now support modules. I'd recommend either subscribing to the mailing list or following geteslint on Twitter for updates. |
I'm following on Twitter. Do you know why I would bet getting this error: import foo from 'foo';
foo.bar(); Results in:
I npm installed a commit from yesterday. |
If you think it's an error in ESLint (without babel-eslint), then please look at the issues over on the ESLint repo. |
Can you please verify that this issue still exists on 3.0.1? |
Not sure I can do anything about this. I'd recommend using the eslint-plugin-react rules. |
Gives:
Also,
makes it going away, so it's a JSX-related thingy.
The text was updated successfully, but these errors were encountered: