# no-new-native-nonconstructor

Rule `eslint/no-new-native-nonconstructor`. Disallow `new` operators with global non-constructor functions

- Source: eslint
- Technologies: JavaScript
- Kind: correctness
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 231.9M weekly downloads of presets that enable it
- Trend: +44.1% last quarter
- Rank: #62 by reach, #924 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `no-new-native-nonconstructor` | yes | suggestion | package `eslint` | [docs](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) |
| Oxlint | `no-new-native-nonconstructor` | yes | no | plugin `eslint`, category correctness | [docs](https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.html) |
| Biome | `correctness/noInvalidBuiltinInstantiation` | yes | unsafe | group correctness, since 1.7.2 | [docs](https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation/) |

## Code examples

### Incorrect: the rule reports this

```js
const foo = new Symbol('foo');
const bar = new BigInt(9007199254740991);
```

### Correct: the rule accepts this

```js
const foo = Symbol('foo');
const bar = BigInt(9007199254740991);

// Ignores shadowed Symbol.
function baz(Symbol) {
    const qux = new Symbol("baz");
}
function quux(BigInt) {
    const corge = new BigInt(9007199254740991);
}
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
export default [
  {
    rules: {
      "no-new-native-nonconstructor": "error",
    },
  },
];
```

### Oxlint: `.oxlintrc.json`

```json
{
  "rules": {
    "no-new-native-nonconstructor": "error"
  }
}
```

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "correctness": {
        "noInvalidBuiltinInstantiation": "error"
      }
    }
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [ESLint recommended](https://lintradar.dev/presets/eslint-recommended.md) | ESLint | `@eslint/js` | 64 | 178.8M | +25.9% |
| [Oxlint default](https://lintradar.dev/presets/oxlint-default.md) | Oxlint | `oxlint` | 111 | 50.8M | +183.6% |
| [Ultracite for Oxlint](https://lintradar.dev/presets/ultracite-oxlint.md) | Oxlint | `ultracite` | 475 | 2.1M | +151.7% |
| [eslint-config-love](https://lintradar.dev/presets/love.md) | ESLint | `eslint-config-love` | 258 | 171.7K | +39.3% |
| [Alloy](https://lintradar.dev/presets/alloy.md) | ESLint | `eslint-config-alloy` | 166 | 31.4K | +32.4% |

## Related rules

- [eslint/no-fallthrough](https://lintradar.dev/rules/eslint/no-fallthrough.md): Disallow fallthrough of `case` statements
- [eslint/no-regex-spaces](https://lintradar.dev/rules/eslint/no-regex-spaces.md): Disallow multiple spaces in regular expressions
- [eslint/no-unassigned-vars](https://lintradar.dev/rules/eslint/no-unassigned-vars.md): Disallow `let` or `var` variables that are read but never assigned
- [eslint/no-octal](https://lintradar.dev/rules/eslint/no-octal.md): Disallow octal literals
- [eslint/no-empty-static-block](https://lintradar.dev/rules/eslint/no-empty-static-block.md): Disallow empty static blocks
- [eslint/no-dupe-args](https://lintradar.dev/rules/eslint/no-dupe-args.md): Disallow duplicate arguments in `function` definitions

---

Web page: https://lintradar.dev/rules/eslint/no-new-native-nonconstructor. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
