{"id":23165885,"url":"https://github.com/pedrox-hs/dart-pre-commit","last_synced_at":"2026-04-28T11:05:12.665Z","repository":{"id":65314106,"uuid":"589459887","full_name":"pedrox-hs/dart-pre-commit","owner":"pedrox-hs","description":"Some Dart hooks for pre-commit","archived":false,"fork":false,"pushed_at":"2023-06-06T12:44:41.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T21:35:33.983Z","etag":null,"topics":["dart","flutter","pre-commit","pre-commit-hook"],"latest_commit_sha":null,"homepage":"","language":null,"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/pedrox-hs.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":"2023-01-16T07:02:00.000Z","updated_at":"2023-03-05T05:08:19.000Z","dependencies_parsed_at":"2024-12-18T01:30:17.199Z","dependency_job_id":"47ea7d42-f8f1-40b6-9c50-9a123abc55a4","html_url":"https://github.com/pedrox-hs/dart-pre-commit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pedrox-hs/dart-pre-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrox-hs%2Fdart-pre-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrox-hs%2Fdart-pre-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrox-hs%2Fdart-pre-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrox-hs%2Fdart-pre-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrox-hs","download_url":"https://codeload.github.com/pedrox-hs/dart-pre-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrox-hs%2Fdart-pre-commit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32377599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dart","flutter","pre-commit","pre-commit-hook"],"created_at":"2024-12-18T01:29:42.031Z","updated_at":"2026-04-28T11:05:12.647Z","avatar_url":"https://github.com/pedrox-hs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dart pre-commit hooks\n\nSome Dart hooks for [pre-commit](https://github.com/pre-commit/pre-commit).\n\nCan be used in Flutter projects.\n\n### Using dart-pre-commit with pre-commit\n\nAdd this to your `.pre-commit-config.yaml`\n\n```yaml\n- repo: https://github.com/pedrox-hs/flutter-pre-commit\n  rev: v1.1.0  # Use the ref you want to point at\n  hooks:\n  - id: dart-analyze\n  # - id: ...\n```\n\n### Hooks available\n\n#### `dart-analyze`\nAnalyze Dart code.\n\n#### `dart-format`\nDart source code format.\n\nBy default it just check for code format, to apply format use:\n\n```yaml\n  - id: dart-format\n    args: [\"--output=write\"]\n```\n\n#### `dart-fix`\nApply automated fixes to Dart source code.\n\n#### `fvm-dart-analyze`\nAlternative for [`dart-analyze`](#dart-analyze) with FVM.\n\n#### `fvm-dart-format`\nAlternative for [`dart-format`](#dart-format) with FVM.\n\n#### `fvm-dart-fix`\nAlternative for [`dart-fix`](#dart-fix) with FVM.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrox-hs%2Fdart-pre-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrox-hs%2Fdart-pre-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrox-hs%2Fdart-pre-commit/lists"}