Skip to content

Commit

Permalink
Use 'proposal' instead of 'EIP' for no_backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn committed Oct 13, 2024
1 parent 24e5142 commit 8fab180
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eipw-lint/src/lints/markdown/no_backticks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<'a, 'b, 'c> Visitor<'a, 'b, 'c> {
self.ctx.report(
self.ctx
.annotation_level()
.title("EIP references should not be in backticks")
.title("proposal references should not be in backticks")
.id(self.slug)
.snippet(
Snippet::source(&source)
Expand Down
2 changes: 1 addition & 1 deletion eipw-lint/tests/eipv/markdown-malformed-eip/expected.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[markdown-no-backticks]: EIP references should not be in backticks
error[markdown-no-backticks]: proposal references should not be in backticks
--> input.md
|
18 | This is the motivation for the EIP, which extends `ERC-721`.
Expand Down
2 changes: 1 addition & 1 deletion eipw-lint/tests/lint_markdown_no_backticks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ hello

assert_eq!(
reports,
r#"error[markdown-no-backticks]: EIP references should not be in backticks
r#"error[markdown-no-backticks]: proposal references should not be in backticks
|
7 | `EIP-1234`
|
Expand Down

0 comments on commit 8fab180

Please sign in to comment.