diff --git a/.README/rules/no-restricted-imports.md b/.README/rules/no-restricted-imports.md index 0da922d..620dac1 100644 --- a/.README/rules/no-restricted-imports.md +++ b/.README/rules/no-restricted-imports.md @@ -4,4 +4,6 @@ Disallow specified modules when loaded by `import` This rule is similar to [`no-restricted-imports`](https://eslint.org/docs/latest/rules/no-restricted-imports) except that it allows you to specify unique messages for each restricted import (a workaround for issue [issues#15261](https://github.com/eslint/eslint/issues/15261)). +> **Note:** Unlike the ESLint rule, this rule does not support the `patterns` option and it does not handle exports. + \ No newline at end of file diff --git a/README.md b/README.md index a898af0..be34fe8 100644 --- a/README.md +++ b/README.md @@ -370,6 +370,8 @@ Disallow specified modules when loaded by `import` This rule is similar to [`no-restricted-imports`](https://eslint.org/docs/latest/rules/no-restricted-imports) except that it allows you to specify unique messages for each restricted import (a workaround for issue [issues#15261](https://github.com/eslint/eslint/issues/15261)). +> **Note:** Unlike the ESLint rule, this rule does not support the `patterns` option and it does not handle exports. +