pkg.soopen package index

brew / 順位 174

swiftlint を Homebrew, dnf, MacPorts, Nix でインストール

swiftlint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install swiftlint

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install swiftlint

MacPorts ports tree · devel/swiftlint/Portfile · ソース: api.github.com

Linux

Fedora dnf確認済み · 92%
sudo dnf install swiftlint

Fedora Rawhide package metadata · swiftlint · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#swiftlint

nixpkgs package indexes · pkgs/by-name/sw/swiftlint/package.nix · ソース: api.github.com

概要

パッケージ概要

Tool to enforce Swift style and conventions

コマンドとエイリアス

  • swiftlint

履歴

プロジェクトの歴史と使われ方

SwiftLint is a Swift style and convention linter originally published by Realm. It became one of the default package-manager-installed tools in Swift projects because it gives teams a shared command-line style gate for local development, Xcode, SwiftPM, Bazel, CocoaPods, Mint, and CI.

プロジェクトの歴史

The SwiftLint repository was created in May 2015. The README describes the tool as loosely based on the archived GitHub Swift Style Guide and aligned with rules generally accepted by the Swift community.

As Swift tooling matured, SwiftLint moved from simple command-line linting into several build-system surfaces. Its README now documents Swift Package command and build-tool plugins, Xcode package integration, Homebrew, CocoaPods, Mint, Bazel, prebuilt packages, and source builds.

採用の歴史

SwiftLint's adoption follows the rise of Swift as a production language: teams needed automated style checks that could run before code review and inside Xcode builds. The official README includes a 2017 video introduction by JP Simard, showing that the project had already become notable in the Swift community by then.

The input package facts show broad packaging beyond Homebrew, including DNF, MacPorts, and Nix. That cross-manager presence is unusual for a Swift-specific CLI and signals sustained use outside one local macOS setup.

使われ方

Common usage is `swiftlint` in a project directory, usually governed by `.swiftlint.yml`. The README emphasizes that SwiftLint analyzes valid, compilable Swift source, which is why teams often place it after or alongside normal build steps rather than as a substitute compiler.

Modern usage includes SwiftPM plugins and Bazel targets as well as traditional Homebrew-installed binaries called from Xcode script phases.

パッケージ好きにとっての重要性

SwiftLint is package-nerd significant because it packages a moving style rule set as a reproducible CLI. Version pinning matters: rule defaults, SwiftSyntax behavior, and autocorrection can affect source diffs across a whole repository.

It also demonstrates how Swift command-line tools escaped the single-machine Homebrew model and became build plugins, package dependencies, and CI artifacts.

タイムライン

  • 2015: GitHub repository created.
  • 2017: Official README links a recorded video introduction.
  • 2018: GitHub release metadata includes 0.28.x and 0.29.x releases.
  • 2026: GitHub release metadata shows active 0.63.x through 0.65.x maintenance.

Related projects

  • Related projects include SwiftFormat for formatting, SwiftSyntax for rule implementation, SourceKit/Clang for type information, SwiftLintPlugins for SwiftPM plugin consumption, and Bazel rules for build integration.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.swiftlint.yml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
swiftlint実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版0.65.0
マネージャ更新日2026-06-27
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:swiftlint
バージョン0.65.0
パッケージマネージャHomebrew
ホームページhttps://github.com/realm/SwiftLint
リポジトリhttps://github.com/realm/SwiftLint
最終更新2026-06-27T09:34:51Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

swiftlint

nix profile install nixpkgs#swiftlint
  • normalized package name match
  • 一致条件: Swiftlint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sw/swiftlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

swiftlint 0.63.0-2.fc45

Tool to enforce Swift style and conventions

https://realm.github.io/SwiftLint/

sudo dnf install swiftlint
  • License: MIT AND Apache-1.0 AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swiftlint
  • 15 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Swiftlint
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swiftlint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
MacPorts95%

swiftlint

sudo port install swiftlint
  • normalized package name match
  • 一致条件: Swiftlint
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/swiftlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation