Skip to content

Files

Latest commit

 

History

History
22 lines (13 loc) · 387 Bytes

no_empty_param_list.md

File metadata and controls

22 lines (13 loc) · 387 Bytes

Pattern: Empty function parameter list

Issue: -

Description

This rule prohibits empty parameter lists in function definitions.

Examples

# The empty parameter list in here is unnecessary:
someFunction = () ->


# We might favor this instead:
someFunction = ->

Further Reading