Skip to content

Commit

Permalink
fix(no-danger): rule source typos (#2931)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant authored May 21, 2024
1 parent e3ecd97 commit 6416d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ declare_rule! {
version: "1.0.0",
name: "noDangerouslySetInnerHtml",
language: "jsx",
sources: &[RuleSource::EslintReact("no-danger-with-children")],
sources: &[RuleSource::EslintReact("no-danger")],
recommended: true,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ declare_rule! {
version: "1.0.0",
name: "noDangerouslySetInnerHtmlWithChildren",
language: "jsx",
sources: &[RuleSource::EslintReact("no-danger")],
sources: &[RuleSource::EslintReact("no-danger-with-children")],
recommended: true,
}
}
Expand Down

0 comments on commit 6416d1b

Please sign in to comment.