Skip to content

Conversation

@mnaoumov
Copy link
Contributor

@mnaoumov mnaoumov commented Nov 19, 2025

The problem is that once you added files: ['package.json'], ESLint merges them into every configuration and they all start to fail.
It makes it impossible to add this rule to plugin projects that already have their own eslint.config.mjs (or similar configuration file).

The only reasonable solution I found is to extract this rule into a separate config and run it separately from all other rules.

Merge after #79

@mnaoumov
Copy link
Contributor Author

I believe this is needed because of eslint/eslint#20352

@mnaoumov
Copy link
Contributor Author

The bug was closed. Reopened as a change request: eslint/eslint#20354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant