Skip to content

Conversation

MikeMcC399
Copy link
Collaborator

@MikeMcC399 MikeMcC399 commented Jun 5, 2025

Status

Markdown documents in this repo are not currently linted. This includes JavaScript code blocks inside Markdown README.md and docs/rules/*.md documents.

Change

  • Protect generated section in README.md from formatting conflicts between Prettier and eslint-doc-generator:

    <!-- prettier-ignore-start -->
    <!-- prettier-ignore-end -->
    
  • Lint Markdown files with npm run format whilst temporarily allowing Prettier formatting of *.md files and update them accordingly

Verification

On Ubuntu 24.04.2 LTS, Node.js 22.16.0 LTS

npm install eslint-doc-generator -g
eslint-doc-generator

Confirm no files are changed

Other

@cypress-app-bot
Copy link

@MikeMcC399 MikeMcC399 self-assigned this Jun 5, 2025
@MikeMcC399 MikeMcC399 marked this pull request as ready for review June 5, 2025 12:31
@MikeMcC399

This comment was marked as outdated.

@jennifer-shehane jennifer-shehane merged commit b974e98 into cypress-io:master Jun 5, 2025
12 checks passed
@MikeMcC399 MikeMcC399 deleted the docs/prettier-markdown branch June 6, 2025 05:54
@jennifer-shehane
Copy link
Member

🎉 This PR is included in version 5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants