Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ declare_oxc_lint!(
///
/// ### Why is this bad?
///
/// When both an identifier and a number literal are in lower case, it can be hard to differentiate between them.
/// When both an identifier and a numeric literal are in
/// lower case, it can be hard to differentiate between them.
///
/// ### Examples
///
/// Examples of **incorrect** code for this rule:
///
/// <!-- prettier-ignore-start -->
/// ```javascript
/// const foo = 0XFF;
/// const foo = 0xff;
Expand All @@ -72,6 +75,7 @@ declare_oxc_lint!(
/// const foo = 0xFFn;
/// const foo = 2e+5;
/// ```
/// <!-- prettier-ignore-end -->
NumberLiteralCase,
unicorn,
style,
Expand Down
Loading