Skip to content

Conversation

@lumirlumir
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request?

Hello,

Currently, when I modify Markdown files and try to commit, the pre-commit hooks don't run for them.

As a result, Markdown files often remain unfixed, which usually leads to lint errors in CI.

To address this, I propose adding an eslint --fix command for Markdown files in lint-staged.

What changes did you make? (Give an overview)

I've added eslint --fix -c eslint.config-content.js command for Markdown files in lint-staged.

Related Issues

Is there anything you'd like reviewers to focus on?

@fasttime fasttime added this to Triage Apr 15, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Apr 15, 2025
@mdjermanovic mdjermanovic moved this from Needs Triage to Implementing in Triage Apr 15, 2025
@lumirlumir lumirlumir requested a review from mdjermanovic April 16, 2025 11:16
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Would like @mdjermanovic to verify before merging.

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@mdjermanovic mdjermanovic merged commit ba108f7 into eslint:main Apr 17, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage Apr 17, 2025
@lumirlumir lumirlumir deleted the chore-add-eslint-fix-command-for-markdown-files-in-lint-staged branch April 17, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants