Skip to content

Commit

Permalink
Support Decimal128 values
Browse files Browse the repository at this point in the history
  • Loading branch information
jessealama committed May 23, 2024
1 parent 1112b2f commit eebf614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lint/collect-spelling-diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const matchers = [
message: 'literal BigInt values should be bolded',
},
{
pattern: /\*[+-]?(?:&[a-z]+;|0x[0-9A-Fa-f]+|[0-9]+(?:\.[0-9]+)?)\*(?!<sub>[𝔽]<\/sub>)/gu,
pattern: /\*[+-]?(?:&[a-z]+;|0x[0-9A-Fa-f]+|[0-9]+(?:\.[0-9]+)?)\*(?!<sub>[𝔻𝔽]<\/sub>)/gu,
message:
'literal Number or BigInt values should be followed by <sub>𝔽</sub> or <sub>ℤ</sub> respectively',
'literal Number, BigInt or Decimal128 values should be followed by <sub>𝔽</sub> or <sub>ℤ</sub> or <sub>𝔻</sub> respectively',
},
{
pattern: /(?<=\*)\+(?:0x[1-9A-Fa-f]|[1-9])/gu,
Expand Down

0 comments on commit eebf614

Please sign in to comment.