chore: migrate to neostandard flat config (ESLint 9)#14
Merged
Conversation
eslint-config-standard@17 only supports ESLint 8, causing peer dependency conflicts with eslint@10. Replace the explicit eslint-config-standard, eslint-plugin-import, eslint-plugin-n, and eslint-plugin-promise deps with neostandard (which bundles them all) and drop eslint to ^9.0.0 to match neostandard's peer requirement. Migrate .eslintrc.json to eslint.config.js flat config format.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
eslint-config-standard@17only supportseslint@^8, causing a peer dependency conflict with theeslint@10that was previously bumped in by dependaboteslint-plugin-promise6→7) from passingnpm ciin CIeslint-config-standard,eslint-plugin-import,eslint-plugin-n,eslint-plugin-promisewithneostandard(which bundles them all, includingeslint-plugin-promise@^7)eslintto^9.0.0to match neostandard's peer requirement.eslintrc.jsontoeslint.config.js(ESLint flat config format)Effect on PR #13
PR #13 will become redundant after this merges —
neostandardalready bundleseslint-plugin-promise@^7.2.1, so dependabot's standalone bump is no longer needed.Test plan
npm run lintpasses with zero errorsnpm test— all 22 tests passnpm ciwill no longer fail on peer dependency conflicts