docs: show NEXT
in version selectors
#17911
Merged
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.
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
Enables
NEXT
in version selectors.What changes did you make? (Give an overview)
config.showNextVersion
totrue
to enableNEXT
in version selectors (see 6669413).eslintVersion
to read fromconfig.version
, becausepkg.version
will soon become9.0.0-alpha.0
.Is there anything you'd like reviewers to focus on?
NEXT
will appear in the lists on https://eslint.org/docs/head before the release. Is that okay?next
branch.latest
branch to set"showNextVersion": true
there.eslintVersion
also reads fromESLINT_VERSION
environment variable, so we could just set this variable on Netlify instead of hardcoding the latest version in the config file. However, this is a temporary solution anyway, and this will make it more clear where the8.56.0
value is coming from when we start working on a long-term solution.