Skip to content

Consider enabling rule to enforce using Number statics #188

@rajsite

Description

@rajsite

Should prefer the Number.* static functions over the bare globals, i.e. Number.isNaN vs isNaN.

See: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-number-properties.md

Edit: unrelated, but some of these lint rules really speak to me

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions