chore: Format code with `golangci-lint fmt` by alexandear · Pull Request #3949 · google/go-github

@gmlewis - I can answer that.

Yes, the tool absolutely supports the "Old School" grouping you prefer (Single sorted bunch for all non-standard imports).

Currently, the config defines 3 sections, which forces the split you're seeing:

standard
default (Third-party)
prefix(github.com/google/go-github/) (Internal)
To restore the single "External+Internal" bunch (preserving just the 2-block layout: Standard + Everything Else), we just need to remove the prefix section.

The Config Fix (.golangci.yml):

linters-settings:
gci:
sections:
- standard # Section 1: Standard Lib
- default # Section 2: Everything else (External + Internal sorted together)
# - prefix(github.com/google/go-github/) <--- Removing this merges it into 'default'
This configuration tells the linter to treating everything non-standard as one group, eliminating the "visual search" through multiple bunches.