{"id":18540146,"url":"https://github.com/ivan-magda/ifmo-swift-static-analyzer","last_synced_at":"2025-11-01T04:30:27.812Z","repository":{"id":84189291,"uuid":"136446925","full_name":"ivan-magda/ifmo-swift-static-analyzer","owner":"ivan-magda","description":"A command line tool to enforce Swift style and conventions.","archived":false,"fork":false,"pushed_at":"2018-06-08T21:39:16.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-26T04:42:49.682Z","etag":null,"topics":["ifmo","static-analyzer","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivan-magda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-07T08:31:38.000Z","updated_at":"2018-06-08T21:39:17.000Z","dependencies_parsed_at":"2023-05-23T21:45:15.134Z","dependency_job_id":null,"html_url":"https://github.com/ivan-magda/ifmo-swift-static-analyzer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-magda%2Fifmo-swift-static-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-magda%2Fifmo-swift-static-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-magda%2Fifmo-swift-static-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-magda%2Fifmo-swift-static-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivan-magda","download_url":"https://codeload.github.com/ivan-magda/ifmo-swift-static-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239256991,"owners_count":19608608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ifmo","static-analyzer","swift"],"created_at":"2024-11-06T19:53:08.525Z","updated_at":"2025-11-01T04:30:27.767Z","avatar_url":"https://github.com/ivan-magda.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift Static Analyzer\n\n`IFMO course project`\n\n***SwiftLinter*** is a tool, that helps to enforce Swift style and conventions, based on [GitHub's Swift Style Guide](https://github.com/github/swift-style-guide).\n\n**Supported Rules**:\n\n- **Line length** should be 100 characters or less.\n- **Leading whitespace** file shouldn't start with whitespace.\n- **Force casts** should be avoided.\n- **Trailing line whitespace** - lines should have no trailing whitespace.\n- **Trailing new line** - file should have a single trailing newline.\n- **File length** - file should contain 400 lines or less).\n\n## Installation\n\nBuilding SwiftLinter on macOS requires Xcode 9.4 or later or a Swift 4.1\ntoolchain or later with the Swift Package Manager.\n\n### Swift Package Manager\n\nRun `swift build` in the root directory of this project.\n\nDebug:\n\n```bash\n$ swift build\n$ .build/debug/SwiftLinter\n```\n\nRelease:\n```bash\n$ swift build -c release -Xswiftc -static-stdlib\n$ .build/release/SwiftLinter\n```\n\n## Usage\n\nThis will run SwiftLinter in the current directory containing the Swift files to lint. Directories will be searched recursively.\n\n```bash\n$ SwiftLinter\n```\n\nThis will run SwiftLinter at the specified path to lint Swift files. Directories will be searched recursively.\n\n```bash\n$ SwiftLinter {YOUR_PATH}\n```\n\n## Screen Shot\n\n![SwiftLinter](https://www.dropbox.com/s/dcdjtrfe4llqp0j/SwiftLinter.png?dl=1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-magda%2Fifmo-swift-static-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivan-magda%2Fifmo-swift-static-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-magda%2Fifmo-swift-static-analyzer/lists"}