{"id":19580865,"url":"https://github.com/orcid/pre-commit-spotless","last_synced_at":"2025-10-07T01:45:55.900Z","repository":{"id":174654121,"uuid":"652553592","full_name":"ORCID/pre-commit-spotless","owner":"ORCID","description":"pre-commit-spotless","archived":false,"fork":false,"pushed_at":"2023-06-12T11:03:32.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-05T05:46:43.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ORCID.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-12T09:59:49.000Z","updated_at":"2025-05-26T23:42:43.000Z","dependencies_parsed_at":"2023-07-30T04:15:30.685Z","dependency_job_id":null,"html_url":"https://github.com/ORCID/pre-commit-spotless","commit_stats":null,"previous_names":["orcid/pre-commit-spotless"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ORCID/pre-commit-spotless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fpre-commit-spotless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fpre-commit-spotless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fpre-commit-spotless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fpre-commit-spotless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORCID","download_url":"https://codeload.github.com/ORCID/pre-commit-spotless/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fpre-commit-spotless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708038,"owners_count":26031932,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-11T07:30:36.593Z","updated_at":"2025-10-07T01:45:55.883Z","avatar_url":"https://github.com/ORCID.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-spotless\n\npre-commit hook for https://pre-commit.com/ to run spotless via maven (https://github.com/diffplug/spotless/tree/main/plugin-maven)\n\n## usage\n\nIn your .pre-commit-config.yaml in your project use:-\n\n```\n...\n  - repo: https://github.com/ORCID/pre-commit-spotless\n    rev: v1.0.0\n    hooks:\n      - id: spotless-check\n        #types_or: [java, xml]\n        types_or: [xml]\n      - id: spotless-apply\n        #types_or: [java, xml]\n        types_or: [xml]\n...\n```\nand include a spotless.xml pom file to configure spotless. See spotless.xml.example\n\n## dependencies\n\nmvn and java need to be installed. Asdf can be used for this. See .tool-versions for an example config\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forcid%2Fpre-commit-spotless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forcid%2Fpre-commit-spotless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forcid%2Fpre-commit-spotless/lists"}