Skip to content

Conversation

@xbinaryx
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request?

This PR implements the no-bare-urls rule to enforce proper URL formatting in Markdown documents. The rule ensures URLs are either wrapped in angle brackets (autolinks) or used with text (links), rather than being used as bare URLs.

What changes did you make? (Give an overview)

Implemented the no-bare-urls rule, along with documentation and tests.

Related Issues

Fixes #399

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

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jun 13, 2025
@lumirlumir lumirlumir moved this from Needs Triage to Implementing in Triage Jun 13, 2025
nzakas
nzakas previously approved these changes Jun 16, 2025
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 @lumirlumir to review before merging.

@nzakas
Copy link
Member

nzakas commented Jun 17, 2025

ping @lumirlumir

@lumirlumir
Copy link
Member

I've left two comments for unresolved reviews:

Once we decide on the approach, I'll take a look at the final version of this rule. (I think there's still room for improvement, considering the discussions.)

Copy link
Member

@lumirlumir lumirlumir 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!

Would like @nzakas to verify the changes before merging.

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. Thanks!

@nzakas nzakas merged commit 5149927 into eslint:main Jun 20, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

New Rule: no-literal-urls

3 participants