1.0.2 • Published 5 months ago

eslint-plugin-no-bigint-usage v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
5 months ago

Installation

yarn add --dev eslint eslint-plugin-no-bigint-usage

Note: If you installed ESLint globally then you must also install eslint-plugin-no-bigint-usage globally.

Usage

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

{
  "plugins": ["no-bigint-usage"]
}

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

{
  "rules": {
    "no-bigint-usage/no-bigint-literals": "error"
  }
}

Reasons to use this plugin

Older JS engines might display this error if you try to use BigInt literals:

No identifiers allowed directly after numeric literal

This plugin makes sure you don't have BigInt literals in your codebase.

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago