Skip to content

Commit

Permalink
docs: remove assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Oct 13, 2023
1 parent bdaadca commit 421ed0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .README/rules/no-restricted-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ This rule is similar to [`no-restricted-imports`](https://eslint.org/docs/latest

> **Note:** Unlike the ESLint rule, this rule does not support the `patterns` option and it does not handle exports.
<!-- assertions noRestrictedImports -->
<details>
<summary>📖 Examples</summary>

<!-- assertions noRestrictedImports -->
</details>
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,9 @@ This rule is similar to [`no-restricted-imports`](https://eslint.org/docs/latest

> **Note:** Unlike the ESLint rule, this rule does not support the `patterns` option and it does not handle exports.
<details>
<summary>📖 Examples</summary>

The following patterns are considered problems:

```js
Expand Down Expand Up @@ -1095,6 +1098,7 @@ import { bar } from 'bar'
```


</details>
<a name="user-content-eslint-plugin-canonical-rules-no-restricted-strings"></a>
<a name="eslint-plugin-canonical-rules-no-restricted-strings"></a>
### <code>no-restricted-strings</code>
Expand Down

0 comments on commit 421ed0e

Please sign in to comment.