# noProcessGlobal

Rule `biome/noProcessGlobal`. Disallow the use of `process` global.

- Source: biome
- Technologies: JavaScript
- Kind: correctness
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1928 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `correctness/noProcessGlobal` | no | safe | group correctness, since 2.0.0 | [docs](https://biomejs.dev/linter/rules/no-process-global/) |

## Code examples

### Incorrect: the rule reports this

```js
const foo = process.env.FOO;
```

### Correct: the rule accepts this

```js
import process from "node:process";

const foo = process.env.FOO;
```

```js
const foo = globalThis;
const bar = foo.process;
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

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

## Related rules

- [biome/noPlaywrightWaitForTimeout](https://lintradar.dev/rules/biome/noPlaywrightWaitForTimeout.md): Disallow using `page.waitForTimeout()`.
- [biome/noPseudoElementInFunctionalPseudoClass](https://lintradar.dev/rules/biome/noPseudoElementInFunctionalPseudoClass.md): Disallow pseudo-elements inside `:is()`, `:where()`, `:not()` and `:has()`.
- [biome/noPlaywrightWaitForSelector](https://lintradar.dev/rules/biome/noPlaywrightWaitForSelector.md): Disallow using `page.waitForSelector()`.
- [biome/noReactForwardRef](https://lintradar.dev/rules/biome/noReactForwardRef.md): Replaces usages of `forwardRef` with passing `ref` as a prop.
- [biome/noPlaywrightWaitForNavigation](https://lintradar.dev/rules/biome/noPlaywrightWaitForNavigation.md): Disallow using `page.waitForNavigation()`.
- [biome/noReactNativeLiteralColors](https://lintradar.dev/rules/biome/noReactNativeLiteralColors.md): Disallow color literals in React Native styles.

---

Web page: https://lintradar.dev/rules/biome/noProcessGlobal. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
