prefer-numeric-literals
Added in v0.6.5Configuration
rslint.config.ts
Rule Details
This rule disallows parseInt() and Number.parseInt() when binary, octal,
or hexadecimal numeric literals can be used instead.
Examples of incorrect code for this rule:
Examples of correct code for this rule: