10000 fix(linter/no-magic-numbers): fix typo in error message (#11560) · oxc-project/oxc@6a856a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a856a0

Browse files
committed
fix(linter/no-magic-numbers): fix typo in error message (#11560)
"BigIntLiteral" not "BingIntLiteral".
1 parent 9b475ad commit 6a856a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/eslint/no_magic_numbers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ impl InternConfig<'_> {
276276
}
277277
_ => {
278278
unreachable!(
279-
"expected AstKind BingIntLiteral or NumericLiteral, got {:?}",
279+
"expected AstKind BigIntLiteral or NumericLiteral, got {:?}",
280280
node.kind().debug_name()
281281
)
282282
}

0 commit comments

Comments
 (0)
0