-
Notifications
You must be signed in to change notification settings - Fork 6
chore(deps): Update MetaMask ESLint dependencies and fix JSDoc compliance #741
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
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
@SocketSecurity ignore-all |
Update MetaMask packages to latest versions: - @metamask/eslint-config: 14.0.0 → 15.0.0 - @metamask/eslint-config-nodejs: 14.0.0 → 15.0.0 - @metamask/eslint-config-typescript: 14.0.0 → 15.0.0 - @metamask/eslint-config-vitest: 1.0.0 → 15.0.0 - @metamask/auto-changelog: 5.0.1 → 5.3.0 - @metamask/utils: 11.4.2 → 11.9.0 - @metamask/snaps-utils: 11.6.1 → 11.7.1 Update eslint.config.mjs to configure JSDoc rules: - Require JSDoc for functions, methods, and classes in TypeScript - Disable JSDoc requirement for test files and config files Add missing JSDoc documentation across all packages to comply with the new linting rules. Co-Authored-By: Claude <[email protected]>
Update coverage thresholds based on actual test coverage after dependency updates. Co-Authored-By: Claude Opus 4.5 <[email protected]>
ee06644 to
c5b1506
Compare
grypez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we disable the constructor docstring requirement? It seems excessive.
I tried to disable as less as possible from these new MM eslint rules. I don't think it hurts. |
Co-authored-by: grypez <[email protected]>
Feels like noise, not signal. The boilerplate is more tolerable when the bot does it for you, but if the bot could produce the doc string anyway, who is it for? |
I guess for people still using an IDE? I still am. Though I can live without it :) |
Summary
@metamask/eslint-configfrom 14.0.0 to 15.0.0@metamask/eslint-config-vitestfrom 1.0.0 to 15.0.0eslint.config.mjsto enforce documentation standards@paramdescriptions, missing@returnsdeclarations)Test plan
yarn lintpasses with no errorsyarn buildsucceeds for all packagesyarn testpasses with updated coverage thresholds🤖 Generated with Claude Code
Note
ESLint/JSDoc enforcement
@metamask/eslint-config*to v15 and tighten linting; addjsdoc/require-jsdocwith targeted exceptions (tests, config files)Docs and code comments
kernel-*,streams,logger,ocap-kernel, etc.; remove legacy lint suppressionsDependency updates
@metamask/utilsto^11.9.0,@metamask/rpc-errorsto^7.0.3,@metamask/snaps-utilsto^11.7.1, and related packages; updateyarn.lock(incl. new Octokit deps viaauto-changelogv5.3.0)Config tweaks
Written by Cursor Bugbot for commit 811f960. This will update automatically on new commits. Configure here.