GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — eslint-plugin-react-hooks: Add support for ESLint v9 by eps1lon · Pull Request #28773 · react/react Conversation
|
|
Comparing: 699d03c...c1f1de3 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
43a0927 to
1a217e9
Compare
| } | ||
| } | ||
|
|
||
| const scopeManager = context.getSourceCode().scopeManager; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/#context-methods-becoming-properties
I noticed that this context.getSourceCode() was replaced with context.sourceCode, you might want to confirm that.
const sourceCode = context.sourceCode ?? context.getSourceCode(); const scopeManager = sourceCode.scopeManager;
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
getSourceCode was only deprecated.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
eps1lon Do you have the ability to collect what you neglected?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
88687c4 to
e2da44f
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Maybe split this out into a separate PR?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It kind of doesn't make sense for these change to stay if we revert ESlint v9 support. And if we need to revert the lockfile changes, we also need to revert ESLint v9 support.
Merge conflicts in yarn.lock are not an issue since you'd just run yarn. Yarn automatically resolves merge conflicts.
I rebased this PR to isolate these changes so if we do need to bisect later, we can still do it on this branch.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
ah right, sorry I missed that there was a package.json update
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Will be used to test compat between eslint-plugin-react-hooks and ESLint v9
e2da44f to
5d30424
Compare
…iveDeps-test.js Co-authored-by: lauren <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.