# eslint-plugin-no-bigint-usage

> Simple eslint plugin to disallow the use of bigint literals (that might break on older JS engines)

Latest version **1.0.2** (published 2023-12-21) · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-no-bigint-usage
pnpm add eslint-plugin-no-bigint-usage
yarn add eslint-plugin-no-bigint-usage
bun add eslint-plugin-no-bigint-usage
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-12-21 |
| First published | 2023-12-21 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michail Strokin |
| Maintainers | mstrokin |
| Keywords | eslint, eslint-plugin, jsc, bigint |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-no-bigint-usage
- Repository: https://github.com/mstrokin/eslint-plugin-no-bigint-usage
- Issues: https://github.com/mstrokin/eslint-plugin-no-bigint-usage/issues
- npm.io page: https://npm.io/package/eslint-plugin-no-bigint-usage

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2023-12-21
- 1.0.1 — 2023-12-21
- 1.0.0 — 2023-12-21

## README

<div align="center">
  <h1>eslint-plugin-no-bigint-usage</h1>
  <p>Simple eslint plugin to disallow the use of BigInt literals.</p>
</div>

## Installation

```bash
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:

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

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

```json
{
  "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.

---
_Source: https://npm.io/package/eslint-plugin-no-bigint-usage · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
