mozilla-mobile/firefox-ios

Add function_body_length to .swiftlint.yml

Open

#24,679 opened on Feb 11, 2025

View on GitHub
 (25 comments) (0 reactions) (1 assignee)Swift (3,203 forks)batch import
Contributor FixContributor OKGood first issue

Repository metrics

Stars
 (12,950 stars)
PR merge metrics
 (Avg merge 3d 2h) (221 merged PRs in 30d)

Description

Like it was done for closure_body_length add function_body_length to .swiftlint.yml with an high threshold in order to avoid a lot of warning. This task is an iterative one since the scope is to reduce the threshold and keep solving the lint issue gradually in small PRs.

The achievement threshold is set to 50 lines.

┆Issue is synchronized with this Jira Task

Contributor guide