MetaMask / MetaMask/eslint-config

Validation: Add support for overrides

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

Description

The ESLint config validation script doesn't support overrides in our exported configs. If you add an `override` for a file pattern, the validator erroneously flags all top-level rules in the exported config as redundantly configured. We don't currently use overrides, but this should be fixed nevertheless.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ESLint config validation script and inspect how it processes exported configs containing an override for a file pattern. Reproduce the redundant-rule warnings, then verify that top-level rules are no longer falsely flagged when overrides are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.