{"id":13648893,"url":"https://github.com/joan38/mill-scalafix","last_synced_at":"2026-01-17T14:55:15.845Z","repository":{"id":42380532,"uuid":"261050198","full_name":"joan38/mill-scalafix","owner":"joan38","description":"A Scalafix plugin for Mill build tool","archived":false,"fork":false,"pushed_at":"2025-10-18T20:32:18.000Z","size":134,"stargazers_count":40,"open_issues_count":2,"forks_count":18,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-17T05:12:18.137Z","etag":null,"topics":["mill-module","mill-plugin","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/joan38.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-04T00:48:02.000Z","updated_at":"2025-12-02T13:07:28.000Z","dependencies_parsed_at":"2024-06-24T20:15:48.544Z","dependency_job_id":"3f1b6464-8de4-44e3-b632-ea2f0bee2c22","html_url":"https://github.com/joan38/mill-scalafix","commit_stats":{"total_commits":181,"total_committers":12,"mean_commits":"15.083333333333334","dds":"0.45856353591160226","last_synced_commit":"d5ef05ade93e9ba0e1d116f73e63eb66fe4c534e"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/joan38/mill-scalafix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joan38%2Fmill-scalafix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joan38%2Fmill-scalafix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joan38%2Fmill-scalafix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joan38%2Fmill-scalafix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joan38","download_url":"https://codeload.github.com/joan38/mill-scalafix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joan38%2Fmill-scalafix/sbom","scorecard":{"id":525585,"data":{"date":"2025-08-11","repo":{"name":"github.com/joan38/mill-scalafix","commit":"edc88fa4fb5c96511fac7b52e8e7df5f546132b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":8,"reason":"9 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/joan38/mill-scalafix/ci.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T04:15:44.843Z","repository_id":42380532,"created_at":"2025-08-20T04:15:44.843Z","updated_at":"2025-08-20T04:15:44.843Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28510925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mill-module","mill-plugin","scala"],"created_at":"2024-08-02T01:04:37.765Z","updated_at":"2026-01-17T14:55:15.839Z","avatar_url":"https://github.com/joan38.png","language":"Scala","funding_links":[],"categories":["Scala"],"sub_categories":[],"readme":"# mill-scalafix\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.goyeau/mill-scalafix_mill1_3)](https://mvnrepository.com/artifact/com.goyeau/mill-scalafix_mill1)\n\nA [scalafix](https://scalacenter.github.io/scalafix) plugin for Mill build tool.\n\n\n## Usage\n\n### Fix sources\n\n*build.mill*:\n```scala\n//| mvnDeps:\n//| - com.goyeau::mill-scalafix::0.6.0\nimport com.goyeau.mill.scalafix.ScalafixModule\nimport mill.scalalib._\n\nobject project extends ScalaModule with ScalafixModule:\n  def scalaVersion = \"3.7.3\"\n```\n\n```shell script\n\u003e mill project.fix\n[29/29] project.fix\n/project/project/src/MyClass.scala:12:11: error: [DisableSyntax.var] mutable state should be avoided\n  private var hashLength = 7\n          ^^^\n1 targets failed\nmill-git.fix A Scalafix linter error was reported\n```\n\n### Using External Rules\n\nYou're also able to use external Scalafix rules by adding them like the below\nexample:\n\n```scala\ndef scalafixIvyDeps = Seq(mvn\"com.github.xuwei-k::scalafix-rules:0.6.17\")\n```\n\n### Scalafix Arguments\n\nmill-scalafix takes any argument that can be passed to the [Scalafix the command line tool](https://scalacenter.github.io/scalafix/docs/users/installation.html#command-line).\nYou could for example check that all files have been fixed with scalafix. We usually use that to enforce rules in CI:\n```shell script\n\u003e mill project.fix --check\n[30/30] project.fix\n--- /project/project/src/Fix.scala\n+++ \u003cexpected fix\u003e\n@@ -1,3 +1,3 @@\n object Fix {\n-  def procedure() {}\n+  def procedure(): Unit = {}\n }\n1 targets failed\nproject.fix A Scalafix test error was reported. Run `fix` without `--check` or `--diff` to fix the error\n```\n\n\n## Related projects\n\n* [scalafix](https://github.com/scalacenter/scalafix)\n* Inspired by [sbt-scalafix](https://github.com/scalacenter/sbt-scalafix)\n\n\n## Contributing\n\nContributions are more than welcome!\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for all the information and getting help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoan38%2Fmill-scalafix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoan38%2Fmill-scalafix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoan38%2Fmill-scalafix/lists"}