Skip to content

feat: add make lint support#34

Merged
sirily11 merged 2 commits into
mainfrom
refactor
May 21, 2026
Merged

feat: add make lint support#34
sirily11 merged 2 commits into
mainfrom
refactor

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2026 04:42
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxcode Ready Ready Preview, Comment May 21, 2026 5:19am

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds SwiftLint linting support to the repository with a Makefile entrypoint and CI integration, so style checks can run consistently locally and in GitHub Actions.

Changes:

  • Add make lint and make lint-ci targets that run SwiftLint with a shared .swiftlint.yml config.
  • Introduce a minimal SwiftLint configuration (currently only enforcing file_length) with explicit include/exclude paths.
  • Add a new lint job to the existing Tests GitHub Actions workflow to run SwiftLint in CI.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Makefile Adds lint / lint-ci targets for running SwiftLint locally and in CI.
.swiftlint.yml Defines included/excluded paths and enables only the file_length rule with thresholds.
.github/workflows/test.yaml Adds a lint job that installs SwiftLint via Homebrew and runs make lint-ci.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
.PHONY: lint lint-ci

lint:
$(SWIFTLINT) lint --config .swiftlint.yml --quiet --no-cache
Comment on lines +14 to +20

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Install SwiftLint
run: brew list swiftlint >/dev/null 2>&1 || brew install swiftlint
@sirily11 sirily11 merged commit 9993230 into main May 21, 2026
7 checks passed
@sirily11 sirily11 deleted the refactor branch May 21, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants