Skip to content

Instantly share code, notes, and snippets.

@markcadag
Created November 3, 2020 04:12
Show Gist options
  • Save markcadag/820b6c488e58272c5e405e26e193bc49 to your computer and use it in GitHub Desktop.
Save markcadag/820b6c488e58272c5e405e26e193bc49 to your computer and use it in GitHub Desktop.
Thirty One Digital Lint Rules
disabled_rules: # rule identifiers to exclude from running
- trailing_whitespace
- force_try
- cyclomatic_complexity
line_length: 500
file_length: 1000
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
- explicit_type_interface
identifier_name:
min_length: 2
cyclomatic_complexity:
warning: 25
function_parameter_count:
warning: 10
function_body_length:
warning: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment