Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Rules added in a pre-release appear in the actual list of all rules #688

Open
mdjermanovic opened this issue Feb 1, 2020 · 3 comments
Open
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion bug The site is working incorrectly infrastructure Relates to the tools used to develop the website

Comments

@mdjermanovic
Copy link
Member

New rules added in v7.0.0-alpha.0 are visible in the actual list at https://eslint.org/docs/rules/

no-useless-backreference for example.

The links are broken. I guess the rules shouldn't be in the list at this moment?

Ref eslint/eslint#12860

@eslint-deprecated eslint-deprecated bot added the triage An ESLint team member will look at this issue soon label Feb 1, 2020
@ilyavolodin
Copy link
Member

pre-release build was never updated to create a new rules.yml file. So in previous pre-releases I had to do it manually. You can see rules4.yml file still left over from 4.0 pre-release builds in the _data directory. You would also need to update rules index template under the new version's directory to use that separate rules.yml file. The build steps should be update to do that automatically in case of pre-release builds.

@kaicataldo kaicataldo added bug The site is working incorrectly infrastructure Relates to the tools used to develop the website accepted There is consensus among the team that this change meets the criteria for inclusion and removed triage An ESLint team member will look at this issue soon labels Feb 4, 2020
@primeare
Copy link

Broken URLs still exist in the Rules list. For example: https://eslint.org/docs/rules/no-useless-backreference. This is a bit confusing 😕

@kaicataldo
Copy link
Member

Sorry for the delay on this - I hope to fix this once I finish my blocking work on v7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion bug The site is working incorrectly infrastructure Relates to the tools used to develop the website
Projects
None yet
Development

No branches or pull requests

4 participants