Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 464 Bytes

max-name-length

Enforce a character limit on the maximum length of each construct name for classes, enums, enumcases, structs, protocols, elements, functions, labels, setters, typealiases, types, variables, and constants.

tailor [--max-name-length <x>]

For example, limiting names to 10 characters would trigger a violation for the following 12 character constant name:

let my12CharName = 42
You can’t perform that action at this time.