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

fix(linter): invalid tags in rule docs #4646

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/oxc_linter/src/rules/eslint/func_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ declare_oxc_lint!(
///
/// ### Why is this bad?
///
/// Leaving the name off a function will cause <anonymous> to appear
/// in stack traces of errorsthrown in it or any function called within it.
/// Leaving the name off a function will cause `<anonymous>` to appear
/// in stack traces of errors thrown in it or any function called within it.
/// This makes it more difficult to find where an error is thrown.
/// If you provide the optional name for a function expression
/// then you will get the name of the function expression in the stack trace.
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/jsx_a11y/anchor_is_valid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct AnchorIsValidConfig {

declare_oxc_lint!(
/// ### What it does
/// The HTML <a> element, with a valid href attribute, is formally defined as representing a **hyperlink**.
/// The HTML `<a>` element, with a valid href attribute, is formally defined as representing a **hyperlink**.
/// That is, a link between one HTML document and another, or between one location inside an HTML document and another location inside the same document.
///
/// While before it was possible to attach logic to an anchor element, with the advent of JSX libraries,
Expand Down
Loading