Skip to content

Commit 1a7e056

Browse files
authored
docs: update copy
Signed-off-by: Athan <[email protected]>
1 parent 02b8335 commit 1a7e056

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/_tools/eslint/rules/no-unnecessary-nested-functions

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/no-unnecessary-nested-functions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ limitations under the License.
2424
2525
<section class="intro">
2626

27-
This rule enforces a convention in stdlib to only have functions defined inside of other functions if they need access to variables defined in the outer function scope. Otherwise, functions should always be elevated to the highest level (ideally module scope) to avoid redefining the functions per invocation.
27+
This rule enforces a best practice to only have functions defined inside of other functions if they need access to variables defined in the outer function scope. Otherwise, functions should always be elevated to the highest level (ideally module scope) to avoid redefining the functions per invocation.
2828

2929
</section>
3030

0 commit comments

Comments
 (0)