<commit_before>run:
  # running w/ 1.17 because we dont actually need/use 1.18 things and 1.18 breaks some linters.
  go: "1.17"
  timeout: 5m
  skip-dirs:
    - private
    - bin

output:
  sort-results: true

linters:
  enable:
    - nlreturn
    - forbidigo
    - gofumpt
    - bodyclose
    - deadcode
    - depguard
    - dogsled
    - dupl
    - errcheck
    - exhaustive
    - funlen
    - goconst
    - gocritic
    - gocyclo
    - gofmt
    - goimports
    - gomnd
    - goprintffuncname
    - gosec
    - gosimple
    - govet
    - ineffassign
    - lll
    - misspell
    - nakedret
    - noctx
    - nolintlint
    - revive
    - rowserrcheck
    - exportloopref
    - staticcheck
    - structcheck
    - stylecheck
    - typecheck
    - unconvert
    - unparam
    - unused
    - varcheck
    - whitespace
    - asciicheck
    - gochecknoglobals
    - gocognit
    - godot
    - godox
    - goerr113
    - nestif
    - prealloc
    - wsl
linters-settings:
  lll:
    line-length: 140

issues:
  # https://github.com/golangci/golangci-lint/issues/2439#issuecomment-1002912465
  # exclude-use-default: false
  exclude-rules:
    - path: _test\.go
      linters:
        # - gomnd
        # - dupl
        # - structcheck
        # - unused
        # - unparam
        - funlen
<commit_msg>remove lll linter<commit_after>run:
  # running w/ 1.17 because we dont actually need/use 1.18 things and 1.18 breaks some linters.
  go: "1.17"
  timeout: 5m
  skip-dirs:
    - private
    - bin

output:
  sort-results: true

linters:
  enable:
    - nlreturn
    - forbidigo
    - gofumpt
    - bodyclose
    - deadcode
    - depguard
    - dogsled
    - dupl
    - errcheck
    - exhaustive
    - funlen
    - goconst
    - gocritic
    - gocyclo
    - gofmt
    - goimports
    - gomnd
    - goprintffuncname
    - gosec
    - gosimple
    - govet
    - ineffassign
    - misspell
    - nakedret
    - noctx
    - nolintlint
    - revive
    - rowserrcheck
    - exportloopref
    - staticcheck
    - structcheck
    - stylecheck
    - typecheck
    - unconvert
    - unparam
    - unused
    - varcheck
    - whitespace
    - asciicheck
    - gochecknoglobals
    - gocognit
    - godot
    - godox
    - goerr113
    - nestif
    - prealloc
    - wsl

issues:
  # https://github.com/golangci/golangci-lint/issues/2439#issuecomment-1002912465
  # exclude-use-default: false
  exclude-rules:
    - path: _test\.go
      linters:
        # - gomnd
        # - dupl
        # - structcheck
        # - unused
        # - unparam
        - funlen

{'fraction_non_alphanumeric': 0.08634222919937205, 'fraction_numerical': 0.024725274725274724, 'mean_word_length': 1.4604247104247103, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7044377', 'n_tokens_mistral': 989, 'n_tokens_neox': 925, 'n_words': 185}