Skip to content

chore: remove dead MetaMask/core-specific rules from eslint.config.mjs - #172

Merged
ulissesferreira merged 1 commit into
mainfrom
cleanup/eslint-config-dead-rules
Aug 19, 2026
Merged

chore: remove dead MetaMask/core-specific rules from eslint.config.mjs#172
ulissesferreira merged 1 commit into
mainfrom
cleanup/eslint-config-dead-rules

Conversation

@ulissesferreira

@ulissesferreira ulissesferreira commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Explanation

eslint.config.mjs was originally bootstrapped from MetaMask/core and still contained several config blocks targeting packages that only exist in core, never trimmed for this repo. Verified each of these paths has zero matches in internal-snaps (only 6 packages exist here: bitcoin-wallet-snap, sample-snap, snap-networks-utils, solana-wallet-snap, stellar-wallet-snap, tron-wallet-snap).

Removed:

  • files blocks for packages/foundryup/**, packages/messenger/src/generate-action-types/**, packages/messenger-cli/src/**, packages/notification-services-controller/**, the 14-file assets-controllers/controller-utils/ens-controller/etc. list, and packages/wallet-framework-docs/site/docusaurus.config.ts — none of these paths exist in this repo.
  • Dead glob entries with no matching files: **/.docusaurus and merged-packages/** from ignores, and **/docusaurus.config.ts from the Node files list (no docusaurus site exists here).

Validation

  • yarn eslint . passes with exit 0 (config still loads and lints correctly after removal).
  • yarn build passes for all packages.

References

@ulissesferreira ulissesferreira changed the title cleanup/eslint config dead rules chore: remove dead MetaMask/core-specific rules from eslint.config.mjs Aug 19, 2026
@ulissesferreira
ulissesferreira marked this pull request as ready for review August 19, 2026 13:58
@ulissesferreira
ulissesferreira requested review from a team as code owners August 19, 2026 13:58
@ulissesferreira
ulissesferreira deployed to default-branch August 19, 2026 13:58 — with GitHub Actions Active
This config was bootstrapped from MetaMask/core and still targeted
packages that don't exist in this repo (foundryup, messenger,
messenger-cli, notification-services-controller, assets-controllers
and friends, wallet-framework-docs), plus a few dead glob entries
(.docusaurus, merged-packages/**, docusaurus.config.ts) with no
matching files.
@ulissesferreira
ulissesferreira force-pushed the cleanup/eslint-config-dead-rules branch from f55eff4 to 058eb58 Compare August 19, 2026 13:59
@ulissesferreira ulissesferreira changed the title chore: remove dead MetaMask/core-specific rules from eslint.config.mjs chore: remove dead MetaMask/core-specific rules from eslint.config.mjs Aug 19, 2026
Comment thread eslint.config.mjs
'**/dist/**',
'**/docs/**',
'.yarn/**',
'merged-packages/**',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we will need this no more because no more packages to migrate

@ulissesferreira
ulissesferreira added this pull request to the merge queue Aug 19, 2026
Merged via the queue into main with commit 906591e Aug 19, 2026
52 checks passed
@ulissesferreira
ulissesferreira deleted the cleanup/eslint-config-dead-rules branch August 19, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants