# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl

[default]
extend-ignore-identifiers-re = [
  "^(ba|fo|pn|PN|UE)$",
  "^(CNA|cpy|ser)$",
  "^(ECT0|ECT1|HELO|htpts|PASE)$",
  "^[A-Za-z0-9_-]*(EDE|GOST)[A-Z0-9_-]*$",  # ciphers
  "^0x[0-9a-fA-F]+FUL$",  # unsigned long hex literals ending with 'F'
  "^(eyeballers|HELO_smtp|Januar|optin|passin|perfec|SMTP_HELO)$",
  "^(clen|req_clen|smtp_perform_helo|smtp_state_helo_resp|Tru64|_stati64)$",
  "(_ccontains|_controllen|O_WRONLY|secur32)",
  "proxys",  # this should be limited to tests/http/*. Short for secure proxy.
]

extend-ignore-re = [
  ".*spellchecker:disable-line",
]

[files]
extend-exclude = [
  ".github/scripts/codespell-ignore.words",
  ".github/scripts/pyspelling.words",
  "docs/THANKS",
  "projects/OS400/*",
  "projects/vms/*",
  "projects/Windows/tmpl/curl.vcxproj",
  "projects/Windows/tmpl/libcurl.vcxproj",
  "scripts/wcurl",
  "tests/data/test*",
]
