馃搸 Implement lint/useNumberNamespace
- eslint-unicorn/prefer-number-properties
#1228
Labels
A-Linter
Area: linter
good first issue
Good for newcomers
L-JavaScript
Language: JavaScript and super languages
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Description
Implement prefer-number-properties
Biome already provides noGlovalIsFinite and noGlobalIsNan because the global and Number-namespaced functions have not the same semantic. Thus, the new rule should ignore these two functions.
The new rule could provide a safe fix.
Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.
Suggested names:
useNumberNamespace
,useNumberProperties
Implementation notes
Take a look at the implementations of noGlovalIsFinite and noGlobalIsNan.
The text was updated successfully, but these errors were encountered: