Skip to content

Commit

Permalink
docs: disable eslint rules in docs where they are purposely broken
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Jan 18, 2022
1 parent 3f05cb8 commit ea28256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/no-let.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ If set, `let`s inside of for a loop initializer are allowed. This does not inclu

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

<!-- eslint-disable @typescript-eslint/prefer-for-of -->

```js
/* eslint functional/no-let: ["error", { "allowInForLoopInit": true } ] */

Expand Down
2 changes: 2 additions & 0 deletions docs/rules/no-method-signature.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ type Foo = {

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

<!-- eslint-disable @typescript-eslint/no-redeclare -->

```ts
/* eslint functional/no-method-signature: "error" */

Expand Down

0 comments on commit ea28256

Please sign in to comment.