Skip to content

Commit 5a78b8a

Browse files
committed
Check the formatting of 'fn' arrow functions
1 parent 521fe5c commit 5a78b8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Unleashed/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@
349349
<rule ref="SlevomatCodingStandard.Functions.StrictCall"/>
350350
<!-- Forbid unused variables passed to closures via `use` -->
351351
<rule ref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure"/>
352+
<!-- Check the formatting of "fn" arrow functions -->
353+
<rule ref="SlevomatCodingStandard.Functions.ArrowFunctionDeclaration"/>
352354
<!-- Require use statements to be alphabetically sorted -->
353355
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
354356
<properties>

0 commit comments

Comments
 (0)