From 6ba2dfd1abfa02392f048111425ea40e3d18c2eb Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Thu, 6 Jan 2022 16:33:33 -0600 Subject: [PATCH] Fixes incorrect "How to Use" for `no-restricted-imports` rule. --- packages/eslint-plugin/docs/rules/no-restricted-imports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/docs/rules/no-restricted-imports.md b/packages/eslint-plugin/docs/rules/no-restricted-imports.md index 52a8daa2fd6e..834ec44b14e0 100644 --- a/packages/eslint-plugin/docs/rules/no-restricted-imports.md +++ b/packages/eslint-plugin/docs/rules/no-restricted-imports.md @@ -10,7 +10,7 @@ This rule extends the base [`eslint/no-restricted-imports`](https://eslint.org/d { // note you must disable the base rule as it can report incorrect errors "no-restricted-imports": "off", - "@typescript-eslint/no-restricted-imports": "off" + "@typescript-eslint/no-restricted-imports": ["error"] } ```