8000 feat: add `meta.docs.url` to all rules by ntnyq · Pull Request #341 · yeonjuan/html-eslint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add meta.docs.url to all rules #341

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

ntnyq
Copy link
Contributor
@ntnyq ntnyq commented May 14, 2025

Checklist

None.

Description

This PR adds `meta.docs.url` to all rules.

@yeonjuan yeonjuan requested a review from Copilot May 14, 2025 14:20
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new meta property, meta.docs.url, to all rules in the eslint-plugin package. The changes include importing the helper getRuleUrl in each rule file and adding a corresponding url field in each rule’s metadata to dynamically generate a documentation URL.

Reviewed Changes

Copilot reviewed 49 out of 49 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/eslint-plugin/lib/rules/no-non-scalable-viewport.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-nested-interactive.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-multiple-h1.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-multiple-empty-lines.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-invalid-role.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-inline-styles.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-heading-inside-button.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-extra-spacing-text.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-extra-spacing-attrs.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-duplicate-id.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-duplicate-class.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-duplicate-attrs.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-aria-hidden-body.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-accesskey-attrs.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/no-abstract-roles.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/max-element-depth.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/lowercase.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/id-naming-convention.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/element-newline.js Added getRuleUrl and injected url in rule metadata
packages/eslint-plugin/lib/rules/attrs-newline.js Added getRuleUrl and injected url in rule metadata

Copy link
Owner
@yeonjuan yeonjuan left a comment

Choose a reason for hiding this comment

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

AWESOME! Thanks!
스크린샷 2025-05-14 오후 11 36 57

@yeonjuan yeonjuan merged commit 2b12bea 7D0A into yeonjuan:main May 14, 2025
3 checks passed
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.

2 participants
0