-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
no-cycle rule not working with babel-eslint parser #1166
Comments
I encountered this too. Inspecting If I comment that It was added in #1126 to fix #1098, though perhaps is not needed for ESLint 5 any more? |
It was added for support of ESLint <5. |
Ok, but the rule is now being skipped for ESLint 5 too. Should we just version-check, or can you remember more specifically what was missing, so that we can feature detect that instead? |
Do not remember more specifically. |
Hey guys, any progress on this? We experience the same issue, with babel parser no-cycle does not work |
- fix import() to work with no-cycle - add tests using multiple imports in no-cycle Fixes import-js#1035. Fixes import-js#1166.
Here is a simple repro:
package.json
.eslintrc
a.js
b.js
No error is found by eslint but if default parser is used (by removing line
parser: "babel-eslint",
) thenno-cycle
errors are found in each file.Is it the expected behaviour ? An issue with
eslint-plugin-import
? An issue withbabel-eslint
?The text was updated successfully, but these errors were encountered: