Skip to content

linter: jsx_a11y/anchor-is-valid config differs from the upstream rule #23358

Description

@camc314

jsx_a11y/anchor-is-valid config differs from the upstream rule

#[derive(Debug, Default, Clone, JsonSchema)]
#[serde(rename_all = "camelCase", default)]
pub struct AnchorIsValidConfig {
/// List of strings that are valid href values.
valid_hrefs: Vec<CompactStr>,
}

https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/anchor-is-valid.md#rule-options

Originally posted by @baevm in #22955

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions