chore(eslint): migrate to eslint 9 and flat file configs#1848
chore(eslint): migrate to eslint 9 and flat file configs#1848hanneskuettner wants to merge 1 commit intoclauderic:experimentalfrom
Conversation
|
@dnd-kit/abstract
@dnd-kit/collision
@dnd-kit/dom
@dnd-kit/geometry
@dnd-kit/helpers
@dnd-kit/react
@dnd-kit/state
commit: |
| "@dnd-kit/abstract": "^0.1.21", | ||
| "@dnd-kit/geometry": "^0.1.21", |
There was a problem hiding this comment.
Haven't worked with bun a lot, is this normal that these are bumped now in the lock file? I would have expected them to use the workspace protocol and automatically get back-filled on release?
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)