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
[Deps] update eslint-module-utils #2256
[Deps] update eslint-module-utils #2256
Conversation
Resolves #2255 ## What was the problem? the file eslint-module-utils/visit didn't exist previously https://github.com/import-js/eslint-plugin-import/tree/v2.24.2/utils/visit.js it only exists in the latest minor version bump https://github.com/import-js/eslint-plugin-import/blob/v2.25.0/utils/visit.js
Looks like I cannot make the |
@slaweet I think you need to click the "Edit" button at the top first to see the checkbox. |
I have tried that, but but still no checkbox: |
@slaweet Thanks for your fix! You probably need to recreate this pull request and choose "Allow edits from maintainers" while creating. |
@paescuj thank you for the suggestion. I made another branch to try opening a new PR, but still no checkbox: But now I'm looking that check is not marked as "Required". Is it really needed? |
@slaweet Huh, strange... Maybe this is prevented by a global setting in your account. However, IMO this check can be ignored - but that's up to the maintainers... |
@slaweet the issue is that you made a PR from a fork you don't own. Please never do that. To resolve this, you'll need to add me to your fork. Since PRs once opened permanently pollute a repo, I will not release a fix for this until I can force push to this PR, so this PR now blocks the release. |
@ljharb Thanks for your explanation!
Why is that? |
@paescuj because Github creates an |
Ah, I see! Thanks! |
@slaweet alternatively, you can |
Codecov Report
@@ Coverage Diff @@
## main #2256 +/- ##
=======================================
Coverage 95.23% 95.23%
=======================================
Files 65 65
Lines 2686 2686
Branches 888 888
=======================================
Hits 2558 2558
Misses 128 128 Continue to review full report at Codecov.
|
@ljharb Opening PRs from my company Github organization is our guideline for contributing to open source in work hours. So far nobody complained about extra refs being a problem (Even when contributing to much bigger repo, such as https://github.com/DefinitelyTyped/DefinitelyTyped).
I see you already released the patch (Good call, given we're in two very different time zones), so closing this PR. |
@slaweet it'd still have fixed things for me if you did the force push command i asked for, so i'm disappointed you've deleted the branch and closed the PR. That company guideline is a bad idea in general - it's not idiomatic for the open source ecosystem - but in this case, it's a github bug where the "allow edits" setting only works when PRs are made from a fork you own. I realize most people don't care about the extra refs issue, but the "allow edits" thing is going to have a wider net. In the future, please make PRs from your own fork; hopefully your company can change it's ill-conceived policy. |
Resolves #2255
What was the problem?
the file eslint-module-utils/visit didn't exist previously
https://github.com/import-js/eslint-plugin-import/tree/v2.24.2/utils/visit.js
it only exists in the latest minor version bump
https://github.com/import-js/eslint-plugin-import/blob/v2.25.0/utils/visit.js