Skip to content

Commit ea28256

Browse files
docs: disable eslint rules in docs where they are purposely broken
1 parent 3f05cb8 commit ea28256

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/rules/no-let.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ If set, `let`s inside of for a loop initializer are allowed. This does not inclu
7373

7474
Examples of **correct** code for this rule:
7575

76+
<!-- eslint-disable @typescript-eslint/prefer-for-of -->
77+
7678
```js
7779
/* eslint functional/no-let: ["error", { "allowInForLoopInit": true } ] */
7880

docs/rules/no-method-signature.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ type Foo = {
2525

2626
Examples of **correct** code for this rule:
2727

28+
<!-- eslint-disable @typescript-eslint/no-redeclare -->
29+
2830
```ts
2931
/* eslint functional/no-method-signature: "error" */
3032

0 commit comments

Comments
 (0)