chore: remove unused eslint disable comments#1118
Merged
Merged
Conversation
Contributor
📖 Storybook Preview |
7 tasks
brianacnguyen
approved these changes
Apr 27, 2026
georgewrmarshall
added a commit
that referenced
this pull request
Apr 28, 2026
## **Description** Removes two unused `eslint-disable` / `eslint-enable` wrappers for `import-x/no-nodejs-modules` in the React and React Native create-component scripts. These comments are no longer needed and currently show up as warnings in `yarn lint`. ## **Related issues** Fixes: ## **Manual testing steps** 1. Check out this branch. 2. Run `yarn lint`. 3. Confirm the unused eslint-disable warnings are no longer reported. ## **Screenshots/Recordings** Not applicable. ### **Before** Not applicable. ### **After** Not applicable. ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) - [x] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: comment-only lint cleanup with no runtime or behavior changes. > > **Overview** > Removes unused `eslint-disable`/`eslint-enable` wrappers for `import-x/no-nodejs-modules` in the React and React Native `create-component` scripts, addressing `yarn lint` warnings without changing script behavior. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c9033d2. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
cursor Bot
pushed a commit
that referenced
this pull request
Apr 28, 2026
## **Description** Removes two unused `eslint-disable` / `eslint-enable` wrappers for `import-x/no-nodejs-modules` in the React and React Native create-component scripts. These comments are no longer needed and currently show up as warnings in `yarn lint`. ## **Related issues** Fixes: ## **Manual testing steps** 1. Check out this branch. 2. Run `yarn lint`. 3. Confirm the unused eslint-disable warnings are no longer reported. ## **Screenshots/Recordings** Not applicable. ### **Before** Not applicable. ### **After** Not applicable. ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) - [x] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: comment-only lint cleanup with no runtime or behavior changes. > > **Overview** > Removes unused `eslint-disable`/`eslint-enable` wrappers for `import-x/no-nodejs-modules` in the React and React Native `create-component` scripts, addressing `yarn lint` warnings without changing script behavior. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c9033d2. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Removes two unused
eslint-disable/eslint-enablewrappers forimport-x/no-nodejs-modulesin the React and React Native create-component scripts.These comments are no longer needed and currently show up as warnings in
yarn lint.Related issues
Fixes:
Manual testing steps
yarn lint.Screenshots/Recordings
Not applicable.
Before
Not applicable.
After
Not applicable.
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: comment-only lint cleanup with no runtime or behavior changes.
Overview
Removes unused
eslint-disable/eslint-enablewrappers forimport-x/no-nodejs-modulesin the React and React Nativecreate-componentscripts, addressingyarn lintwarnings without changing script behavior.Reviewed by Cursor Bugbot for commit c9033d2. Bugbot is set up for automated code reviews on this repo. Configure here.