Skip to content

Commit

Permalink
docs(eslint-plugin): [no-restricted-imports] fix incorrect "How to Us…
Browse files Browse the repository at this point in the history
…e" configuration (#4394)
  • Loading branch information
manovotny authored and bradzacher committed Jan 7, 2022
1 parent 8d710a0 commit dd1bdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/no-restricted-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
```

Expand Down

0 comments on commit dd1bdce

Please sign in to comment.