-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated auto-generated rules header on Windows #522
Labels
bug
Something isn't working
Comments
Thanks for the detailed report. I haven't been able to test on Windows yet but I suspect I have a fix in #524. |
|
Let me know if https://github.com/bmish/eslint-doc-generator/releases/tag/v1.7.1 fixes this. |
Thank you very much for fixing this issue! I ran it on the production version of
No duplication of headers anymore! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
eslint-doc-generator
duplicates auto-generated rules headers leading to duplicate visible sections such as the following:This problem seems to affect Windows only. I could not reproduce it on Ubuntu
22.04.4
LTS for example.Versions
Operating System: Windows 11
Node.js:
20.12.2
LTSeslint:
8.57.0
eslint-doc-generator:
1.7.0
Steps to reproduce
On Windows 11 with Node.js
20.12.2
LTSgit clone --branch show/doc-generation https://github.com/MikeMcC399/eslint-plugin-cypress --single-branch cd eslint-plugin-cypress npm ci npx eslint-doc-generator
View the top of the file
docs/rules/no-assigning-return-values.md
.For example, using the Git Bash shell:
and note that the auto-generated rule header appears twice.
The text was updated successfully, but these errors were encountered: