Skip to content

Conversation

aladdin-add
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request?

eslintrc's plugins must be an array; while flat config's must be an object. this PR added the check to fix the edge case as described in the issue.

What changes did you make? (Give an overview)

Related Issues

fixes: #291
refs: eslint/generator-eslint#228 (comment)

Is there anything you'd like reviewers to focus on?

n/a.

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Oct 10, 2025
@aladdin-add aladdin-add changed the title feat: add validation for plugin config format in defineConfig feat: add validation for plugins in defineConfig Oct 10, 2025
@aladdin-add aladdin-add changed the title feat: add validation for plugins in defineConfig feat: add validation for plugins in isLegacyConfig Oct 10, 2025
@aladdin-add aladdin-add changed the title feat: add validation for plugins in isLegacyConfig fix: add validation for plugins in isLegacyConfig Oct 10, 2025
@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Oct 10, 2025
@aladdin-add aladdin-add moved this from Needs Triage to Implementing in Triage Oct 10, 2025
@aladdin-add aladdin-add force-pushed the fix/flat-config-check branch from 180dd13 to bd37ea2 Compare October 10, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted bug Something isn't working

Projects

Status: Implementing

Development

Successfully merging this pull request may close these issues.

Bug: A config object has a "plugins" key defined as an array of strings.

1 participant