chore(eslint): migrate to eslint 9 and flat file configs #1848
+287
−738
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Migrate ESLint from v8 (legacy
.eslintrc.js) to v9 flat config with co-located package config and make use of a single workspaceeslint.config.js.Before this PR it looks like no lint actually ran?
Changes:
@dnd-kit/eslint-configpackage (configs were broken/missing which might be the reason why no proper lint ran)config/eslint/react.config.jsfor reuse acrossreactandstoriespackagepackage.jsonfiles where they're actually used and removeeslintfrom individual packages--flag v10_config_lookup_from_filefor proper config resolution per package (this can be removed as soon as it stabilized in eslint v10Structure:
vue,svelteetc)