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
Bug: Strange logging "can't resolve reference" after update to version 5.34.0 #5525
Comments
Looks related to #5509? FWIW this isn't causing any actual failures for me, just some console spam. |
These warnings seem to be written to |
From (eslint's schema)[https://eslint.org/docs/latest/developer-guide/working-with-rules#options-schemas]
Because The change was made in this commit I wonder if we could rollback the change only for those rules using the array format? |
Workaround: downgrade to |
I believe that all of our rules use the array format - so we would need to rollback everything. If we can it would be good to fix forward here by actioning #5509 considering how large that PR was it would suck to revert it and lose the website wins it introduced. As an aside - I wonder if there's a test we can add to catch this in future? |
👋 Sorry for the disruption folks, this was me. I'm working on a fix now.
Ironically, I did make a package that catches console outputs: Edit: Fix is in review now, #5531 |
Avoids pesky errors, appears to have no effect on functionality. See typescript-eslint/typescript-eslint#5525
same for me, a downgrade to 53 stops it. |
Given that plenty of build tools fail on warnings, it would be good if this test was included warnings too. |
* aws-sso provider: make options listing concurrent * fix the typescript context error in Chakra UI * tweak retry config to avoid hitting SSO rate limit * boost timeout to 60s * implement provider arg option caching * fix eslint parsing error see: typescript-eslint/typescript-eslint#5525 * fix lint error Co-authored-by: meyerjrr <jrmeyer339@gmail.com>
@typescript-eslint/eslint-plugin@5.34.0 generates a warning, 5.33.0 is ok. typescript-eslint/typescript-eslint#5525
A problem was discovered with npm package - typescript-eslint/typescript-eslint#5525
Downgrading to 5.33.0 worked for me. Check your |
Thank you! |
This should be fixed in If this exact issue is still happening for you, please go through https://github.com/typescript-eslint/typescript-eslint/issues/new/choose to file a new issue. Be sure to check all versions of your installed packages. Thanks for your patience all - and apologies again for the disruption! ❤️ |
The latest update fixes the "can't resolve reference" console spam typescript-eslint/typescript-eslint#5525
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
Strange logging after update to version 5.34.0
Reproduction Repository Link
na
Repro Steps
yarn install
yarn lint
Versions
@typescript-eslint/eslint-plugin
5.35.0
@typescript-eslint/parser
5.35.0
TypeScript
4.7.4
ESLint
8.22.0
node
18.7.0
The text was updated successfully, but these errors were encountered: