eslint-plugin-no-int64-number

0.0.3 • Public • Published

eslint-plugin-no-int64-number

Lint number literal when the absolute values equal to 2^53 or greater

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-int64-number:

$ npm install eslint-plugin-no-int64-number --save-dev

Usage

Add no-int64-number to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-int64-number"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-int64-number/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-no-int64-number

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

5.2 kB

Total Files

6

Last publish

Collaborators

  • pgherveou2