{"id":32281445,"url":"https://github.com/robsonsilv4/flakes","last_synced_at":"2026-02-21T02:38:57.935Z","repository":{"id":217956502,"uuid":"745228558","full_name":"robsonsilv4/flakes","owner":"robsonsilv4","description":"A collection of Lint rules for Dart and Flutter projects. Like Python flake8, but for Dart!","archived":false,"fork":false,"pushed_at":"2024-01-23T16:17:46.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T10:35:56.610Z","etag":null,"topics":["analysis","analyzer","dart","flutter","linter","lints"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flakes","language":"Dart","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/robsonsilv4.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-18T22:20:05.000Z","updated_at":"2024-12-10T14:41:17.000Z","dependencies_parsed_at":"2025-10-23T00:57:27.809Z","dependency_job_id":"62bc1a8f-78a7-437d-8405-a73cafdc3460","html_url":"https://github.com/robsonsilv4/flakes","commit_stats":null,"previous_names":["silvaquill/flakes","robsonsilv4/flakes"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/robsonsilv4/flakes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fflakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fflakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fflakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fflakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robsonsilv4","download_url":"https://codeload.github.com/robsonsilv4/flakes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fflakes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"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":["analysis","analyzer","dart","flutter","linter","lints"],"created_at":"2025-10-23T00:57:25.575Z","updated_at":"2026-02-21T02:38:57.912Z","avatar_url":"https://github.com/robsonsilv4.png","language":"Dart","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/silvaquill/flakes/main/assets/logo.png\" height=\"200\" alt=\"The flakes package logo.\" /\u003e\n\u003c/p\u003e\n\n# Flakes\n\nA collection of [Lint](https://dart.dev/tools/linter-rules) rules for Dart and Flutter projects.\nLike Python [flake8](https://flake8.pycqa.org/en/latest/), but for Dart!\n\n- Production ready\n- Strict but not annoying\n- Improve your code quality\n- Follow the [Effective Dart Style](https://dart.dev/guides/language/effective-dart/style)\n\n## Installation\n\nWith Dart, install via `dart pub`:\n\n```sh\ndart pub add flakes\n```\n\nWith Flutter, install via `flutter pub`:\n\n```sh\nflutter pub add flakes\n```\n\nOr manually add to your `pubspec.yaml`:\n\n```yaml\ndev_dependencies:\n  flakes: ^1.0.0\n```\n\nAnd run `dart pub get` or `flutter pub get`.\n\n## Usage\n\nTo use **Flakes** analysis, include the `flakes.yaml` file in your `analysis_options.yaml`:\n\n```yaml\ninclude: package:flakes/flakes.yaml\n```\n\nYou can also customize the rules or add your own:\n\n```yaml\ninclude: package:flakes/flakes.yaml\n\nlinter:\n  rules:\n    # Customizing rules\n    avoid_print: false\n\n    # Adding rules\n    public_member_api_docs: true\n```\n\n## Integrations\n\nTo take advantage of **Flakes** in your CI, you can use `dart fix` to fix the _lints_ automatically:\n\n```sh\ndart fix --dry-run # See what needs to be changed\ndart fix --apply # Apply the changes\n```\n\nAnd if you're using [VSCode](https://code.visualstudio.com/), you can use the [Dart Code](https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code) extension to automatically fix the _lints_ on save:\n\n```json\n{\n  \"[dart]\": {\n    \"editor.formatOnSave\": true,\n    \"editor.codeActionsOnSave\": {\n      \"source.fixAll\": \"explicit\",\n      \"source.organizeImports\": \"explicit\"\n    }\n  }\n}\n```\n\nNote that not all _lints_ can be fixed automatically, so you'll still need to _fix_ some manually.\n\n---\n\nThis package is inspired by other lint packages, like [very_good_analysis](https://pub.dev/packages/very_good_analysis) and [lint](https://pub.dev/packages/lint).\n\nDeveloped with 💙 by [Robson Silva](https://github.com/silvaquill).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonsilv4%2Fflakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobsonsilv4%2Fflakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonsilv4%2Fflakes/lists"}