From 96cdef411079ed8b58384f9dbc687e91f2531007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor=20Levcs=C3=A1k?= <37511777+levchak0910@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:33:08 +0200 Subject: [PATCH 1/2] docs(eslint-plugin): fix typo in option name | rule: explicit-function-return-type --- .../eslint-plugin/docs/rules/explicit-function-return-type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin/docs/rules/explicit-function-return-type.md b/packages/eslint-plugin/docs/rules/explicit-function-return-type.md index 0d0e476d576c..8e35edf1244e 100644 --- a/packages/eslint-plugin/docs/rules/explicit-function-return-type.md +++ b/packages/eslint-plugin/docs/rules/explicit-function-return-type.md @@ -289,9 +289,9 @@ You may pass function/method names you would like this rule to ignore, like so: } ``` -### `allowIIFE` +### `allowIIFEs` -Examples of code for this rule with `{ allowIIFE: true }`: +Examples of code for this rule with `{ allowIIFEs: true }`: #### ❌ Incorrect From 16b61f18d2b938657b9be4de730bea7b0d145200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor=20Levcs=C3=A1k?= <37511777+levchak0910@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:44:11 +0200 Subject: [PATCH 2/2] docs(eslint-plugin): add tags | rule: explicit-function-return-type --- .../eslint-plugin/docs/rules/explicit-function-return-type.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/eslint-plugin/docs/rules/explicit-function-return-type.md b/packages/eslint-plugin/docs/rules/explicit-function-return-type.md index 8e35edf1244e..c7ac599ac56c 100644 --- a/packages/eslint-plugin/docs/rules/explicit-function-return-type.md +++ b/packages/eslint-plugin/docs/rules/explicit-function-return-type.md @@ -293,6 +293,8 @@ You may pass function/method names you would like this rule to ignore, like so: Examples of code for this rule with `{ allowIIFEs: true }`: + + #### ❌ Incorrect ```ts