<commit_before>disabled_rules:
  - force_try
opt_in_rules:
  - empty_count
  - missing_docs
  - switch_case_on_newline
  - redundant_nil_coalescing
  - prohibited_super_call
excluded:
  - Pods

# rules
colon:
  severity: error
comma:
  severity: error
vertical_whitespace:
  severity: error
trailing_whitespace:
  severity: error
  ignores_comments: true
prohibited_super_call:
  severity: error
redundant_nil_coalescing:
  severity: error
force_cast:
  severity: error
operator_usage_whitespace:
  severity: error
control_statement:
  severity: error
switch_case_on_newline:
  severity: error
force_try:
  severity: warning
line_length:
  warning: 160
function_body_length:
  warning: 50
type_body_length:
  warning: 300
  error: 500
file_length:
  warning: 500
  error: 1200
type_name:
  min_length: 4
  max_length:
    warning: 50
variable_name:
  min_length:
    error: 4
  excluded:
    - app
    - id
    - sid
    - map
    - url
custom_rules:
  hard_tab:
    name: "Hard Tab"
    regex: "(^  *)"
    match_kinds:
      - string
      - identifier
      - keyword
    message: "Use hard tab instead"
    severity: error
  default_file_header:
    name: "Default File Header"
    regex: '(^//  \w*\.swift$)'
    match_kinds:
      - comment
    message: "Use common file header"
    severity: error

reporter: "xcode"
<commit_msg>Fix lint rule<commit_after>disabled_rules:
  - force_try
opt_in_rules:
  - empty_count
  - missing_docs
  - switch_case_on_newline
  - redundant_nil_coalescing
  - prohibited_super_call
excluded:
  - Pods

# rules
colon:
  severity: error
comma:
  severity: error
vertical_whitespace:
  severity: error
trailing_whitespace:
  severity: error
  ignores_comments: true
prohibited_super_call:
  severity: error
redundant_nil_coalescing:
  severity: error
force_cast:
  severity: error
operator_usage_whitespace:
  severity: error
control_statement:
  severity: error
switch_case_on_newline:
  severity: error
force_try:
  severity: warning
line_length:
  warning: 160
function_body_length:
  warning: 50
type_body_length:
  warning: 300
  error: 500
file_length:
  warning: 500
  error: 1200
type_name:
  min_length: 4
  max_length:
    warning: 50
identifier_name:
  min_length:
    error: 1
custom_rules:
  hard_tab:
    name: "Hard Tab"
    regex: "(^  *)"
    match_kinds:
      - string
      - identifier
      - keyword
    message: "Use hard tab instead"
    severity: error
  default_file_header:
    name: "Default File Header"
    regex: '(^//  \w*\.swift$)'
    match_kinds:
      - comment
    message: "Use common file header"
    severity: error

reporter: "xcode"

{'fraction_non_alphanumeric': 0.07883658629927287, 'fraction_numerical': 0.016838882510524303, 'mean_word_length': 3.4380305602716468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4767174', 'n_tokens_mistral': 990, 'n_tokens_neox': 938, 'n_words': 222}