{"id":17722801,"url":"https://github.com/bramp/flutter_gen_linter","last_synced_at":"2025-03-31T13:25:14.844Z","repository":{"id":186864662,"uuid":"675907652","full_name":"bramp/flutter_gen_linter","owner":"bramp","description":"A set of simple linter rules to encourage the use of flutter_gen","archived":false,"fork":false,"pushed_at":"2023-08-08T03:09:20.000Z","size":101,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T18:51:07.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bramp.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},"funding":{"github":"bramp","buy_me_a_coffee":"bramp"}},"created_at":"2023-08-08T02:30:02.000Z","updated_at":"2024-10-29T12:12:45.000Z","dependencies_parsed_at":"2023-08-08T03:11:37.500Z","dependency_job_id":null,"html_url":"https://github.com/bramp/flutter_gen_linter","commit_stats":null,"previous_names":["bramp/flutter_gen_linter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fflutter_gen_linter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fflutter_gen_linter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fflutter_gen_linter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fflutter_gen_linter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramp","download_url":"https://codeload.github.com/bramp/flutter_gen_linter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473273,"owners_count":20783236,"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-10-25T15:39:24.974Z","updated_at":"2025-03-31T13:25:14.805Z","avatar_url":"https://github.com/bramp.png","language":"Dart","funding_links":["https://github.com/sponsors/bramp","https://buymeacoffee.com/bramp"],"categories":[],"sub_categories":[],"readme":"A set of simple linter rules to encourage the use of flutter_gen.\n\n## Features\n\nWhile using [flutter_gen](https://pub.dev/packages/flutter_gen) I wanted to ensure it was used consistently thoughout the project, so this is a set of [custom_lint](https://pub.dev/packages/custom_lint) rules to ensure that.\n\n## Getting started\n\nIn your `pubspec.yaml` add:\n\n```\ndev_dependencies:\n  custom_lint: ^0.5.0\n  flutter_gen_linter: ^1.0.0\n```\n\nand create a `analysis_options.yaml` and add:\n\n```\nanalyzer:\n  plugins:\n    - custom_lint\n```\n\nNow your IDE should show the lint warnings, like so:\n\n![Screenshot of VS Code showing a lint warning](https://raw.githubusercontent.com/bramp/flutter_gen_linter/main/screenshot.png)\n\nor you can manually run them from the command line:\n\n```shell\n$ dart run custom_lint\n\nlib/your_file.dart:61:18 • AssetImage or Image.asset should not be used directly instead use Assets.images... • asset_image • INFO\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Fflutter_gen_linter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramp%2Fflutter_gen_linter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Fflutter_gen_linter/lists"}