{"id":18910131,"url":"https://github.com/cretezy/dart-format-pre-commit","last_synced_at":"2025-04-15T06:31:13.717Z","repository":{"id":91752082,"uuid":"149890254","full_name":"Cretezy/dart-format-pre-commit","owner":"Cretezy","description":"Format Dart code with pre-commit ","archived":false,"fork":false,"pushed_at":"2025-03-16T03:37:47.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":21,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T17:12:00.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Cretezy.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-09-22T15:35:08.000Z","updated_at":"2025-03-16T03:37:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"4215e2d8-9e26-4007-b3e7-8d4fc9247c58","html_url":"https://github.com/Cretezy/dart-format-pre-commit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2Fdart-format-pre-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2Fdart-format-pre-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2Fdart-format-pre-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2Fdart-format-pre-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cretezy","download_url":"https://codeload.github.com/Cretezy/dart-format-pre-commit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249020777,"owners_count":21199616,"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":[],"created_at":"2024-11-08T09:41:16.191Z","updated_at":"2025-04-15T06:31:13.705Z","avatar_url":"https://github.com/Cretezy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dart Format `pre-commit`\n\n[`pre-commit`](https://pre-commit.com) hook for formatting Dart files.\n\nAdd the following in your `.pre-commit-config.yaml`:\n```yaml\n- repo: https://github.com/Cretezy/dart-format-pre-commit\n  rev: \"master\"\n  hooks:\n    - id: dart-format\n```\n\nYou can also only include/exclude some files (defaults to only `.dart`, is a pattern):\n\n```yaml\n- repo: https://github.com/Cretezy/dart-format-pre-commit\n  rev: \"master\"\n  hooks:\n    - id: dart-format\n      files: lib/* # Only format source files\n      exclude: lib/src/utils.dart # Exclude utils\n```\n\n## Flutter\n\nAlso see [Flutter Format `pre-commit`](https://github.com/Cretezy/flutter-format-pre-commit) for formatting Flutter code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcretezy%2Fdart-format-pre-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcretezy%2Fdart-format-pre-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcretezy%2Fdart-format-pre-commit/lists"}