mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
48 lines
884 B
YAML
48 lines
884 B
YAML
line_length: 400
|
|
|
|
type_name:
|
|
min_length: 1
|
|
max_length:
|
|
warning: 60
|
|
error: 70
|
|
excluded: iPhone # excluded via string
|
|
allowed_symbols: ["_"] # these are allowed in type names
|
|
identifier_name:
|
|
min_length: 1
|
|
max_length:
|
|
warning: 60
|
|
allowed_symbols: ["_"] # these are allowed in type names
|
|
|
|
# TODO: should review
|
|
force_try:
|
|
severity: warning # explicitly
|
|
|
|
# TODO: should review
|
|
file_length:
|
|
warning: 3500
|
|
error: 4000
|
|
|
|
# TODO: should review
|
|
cyclomatic_complexity:
|
|
warning: 60
|
|
error: 70
|
|
ignores_case_statements: true
|
|
|
|
# TODO: should review
|
|
function_body_length:
|
|
warning: 200
|
|
|
|
# TODO: should review
|
|
type_body_length:
|
|
warning: 400
|
|
|
|
# TODO: should review
|
|
disabled_rules: # rule identifiers to exclude from running
|
|
- operator_whitespace
|
|
- multiple_closures_with_trailing_closure
|
|
- todo
|
|
|
|
# TODO: should review
|
|
nesting:
|
|
type_level:
|
|
warning: 3
|