---
title: id-blacklist
layout: doc
edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/id-blacklist.md
rule_type: suggestion
---

Disallows specified identifiers.

This rule was **deprecated** in ESLint v7.5.0 and replaced by the [id-denylist](id-denylist) rule.

## Version

This rule was introduced in ESLint 2.0.0-beta.2.

## Resources

* [Rule source](https://github.com/eslint/eslint/tree/HEAD/lib/rules/id-blacklist.js)
* [Test source](https://github.com/eslint/eslint/tree/HEAD/tests/lib/rules/id-blacklist.js)
* [Documentation source](https://github.com/eslint/eslint/tree/HEAD/docs/src/rules/id-blacklist.md)
