Skip to content
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

Add relative-url-style rule #1672

Merged
merged 16 commits into from
Dec 31, 2021
Merged

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Dec 29, 2021

Fixes #1614

@fisker fisker marked this pull request as ready for review December 29, 2021 11:26
rules/relative-url-style.js Outdated Show resolved Hide resolved
rules/relative-url-style.js Outdated Show resolved Hide resolved
rules/relative-url-style.js Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
fisker and others added 3 commits December 31, 2021 09:19
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
- `'always'`
- Always add a `./` prefix to the relative URL when possible.
- Always add a `./` prefix to the relative URL when possible.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

markdownlint enforce to use space.

@fisker fisker marked this pull request as draft December 31, 2021 09:06
@fisker fisker marked this pull request as ready for review December 31, 2021 09:21
@sindresorhus sindresorhus merged commit 6ab705b into sindresorhus:main Dec 31, 2021
@fisker fisker deleted the relative-url-style branch December 31, 2021 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule proposal: No moot ./ in new URL()
2 participants