MetaMask / MetaMask/eslint-config

Replace `createConfig` with `defineConfig` from ESLint

Open
#415 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
21
PR merge metrics
No merged PRs in 30d

Description

As of March 2025, ESLint ships with a [`defineConfig`](https://eslint.org/blog/2025/03/flat-config-extends-define-config-global-ignores/) helper, which seems awfully similar to the `createConfig` helper that we are using. We should investigate whether we can make use of this and replace it if so.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the repository's createConfig helper with ESLint's defineConfig helper described in the linked ESLint blog post. Determine whether defineConfig can replace createConfig without changing the shareable configuration's behavior; the issue provides no file or test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, javascript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.