mirror-ghostty/.github
Jon Parise c2eab3b43d macos: add root-level .swiftlint.yml
In order to support running from both the repository root and from
within Xcode project, and to keep things generally organized, our
primary .swiftlint.yml configuration file lives under macos/.

This change introduces a root-level .swiftlint.yml which limits the file
scope to macos/ and then includes macos/.swiftlint.yml for the rest of
the directives.

This unlocks a few benefits:

- We no longer need to pass an explicit `macos` path argument in any of
  our invocations. SwiftLint will do the right thing when run either
  from the repository root or from within the macos/ directory.
- It lets us easily exclude the macos/build/ directory (and re-enable
  the 'deployment_target' rule). In the previous setup, this was more
  challenging than you'd expect due to SwiftLint's path resolution rules
  and required passing even more arguments like `--working-directory`.

The only downside is adding a new file to the repository root, but that
feels like the right trade-off given the benefits and conveniences.
2026-02-20 09:21:04 -05:00
..
DISCUSSION_TEMPLATE fix vouch-request discussion template 2026-02-15 07:03:46 -08:00
ISSUE_TEMPLATE remove the issue template 2026-02-15 06:53:31 -08:00
scripts moving stuff around 2026-02-15 06:53:29 -08:00
workflows macos: add root-level .swiftlint.yml 2026-02-20 09:21:04 -05:00
VOUCHED.td Update VOUCHED list (#10887) 2026-02-20 12:37:50 +00:00
dependabot.yml Create dependabot.yml 2022-11-17 10:21:31 -08:00
pinact.yml pin GitHub Actions to specific SHAs 2025-07-06 06:59:50 -07:00