79421210

Date: 2025-02-07 14:36:21
Score: 1
Natty:
Report link

Just had the same issue and found out you need to use FunctionExpression not FunctionDeclaration.

Example:

"@stylistic/indent": ['error', 4, {
    "FunctionExpression": {
        parameters: "first",
    }
}],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SilverOne