{"id":23174021,"url":"https://github.com/zebradevs/zds_analysis","last_synced_at":"2026-03-04T00:09:38.028Z","repository":{"id":199710714,"uuid":"703650354","full_name":"ZebraDevs/zds_analysis","owner":"ZebraDevs","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-07T14:20:17.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-01T05:11:07.190Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZebraDevs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-11T16:29:04.000Z","updated_at":"2025-01-09T15:24:41.000Z","dependencies_parsed_at":"2025-02-10T08:50:49.312Z","dependency_job_id":"795f44a3-e4d7-44e6-988c-bfb63fc37e5e","html_url":"https://github.com/ZebraDevs/zds_analysis","commit_stats":null,"previous_names":["zebradevs/zds_analysis"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzds_analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzds_analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzds_analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fzds_analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZebraDevs","download_url":"https://codeload.github.com/ZebraDevs/zds_analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850467,"owners_count":21973662,"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-12-18T05:18:57.479Z","updated_at":"2026-03-04T00:09:37.987Z","avatar_url":"https://github.com/ZebraDevs.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZDS Analysis\n\nThis package provides lint rules for Dart and Flutter which are used at Zebra Technologies Corporation.\n\n**Note**: This package was heavily inspired by both [Very Good Analysis](https://pub.dev/packages/very_good_analysis) and [RydMike](https://rydmike.com/blog_flutter_linting.html).\n\n## Usage\n\nTo use the lints, add as a dev dependency in your `pubspec.yaml`:\n\n```yaml\ndev_dependencies:\n  zds_analysis: ^1.0.0\n```\n\nThen, add an include in `analysis_options.yaml`:\n\n```yaml\ninclude: package:zds_analysis/analysis_options.yaml\n```\n\nThis will ensure you always use the latest version of the lints.\n\nOur versions follow the Dart SDK versions. If you wish to restrict the lint version, specify a version of `analysis_options.yaml`.\nFor example, for projects using Dark SDK versions 2.18.x:\n\n```yaml\ninclude: package:zds_analysis/analysis_options.2.18.yaml\n```\n\nFor strict typed rules, use:\n\n```yaml\ninclude: package:zds_analysis/analysis_options_strict.yaml\n```\n\nOr, specific version:\n\n```yaml\ninclude: package:zds_analysis/analysis_options_strict.2.18.yaml\n```\n\nFor library specific lints (not for use in applications):\n\n```yaml\ninclude: package:zds_analysis/analysis_options_lib.yaml\n```\n\n## Suppressing Lints\n\nThere may be cases where specific lint rules are undesirable. Lint rules can be suppressed at the line, file, or project level.\n\nAn example use case for suppressing lint rules at the file level is suppressing the `prefer_const_constructors` in order to achieve 100% code coverage. This is due to the fact that const constructors are executed before the tests are run, resulting in no coverage collection.\n\n### Line Level\n\nTo suppress a specific lint rule for a specific line of code, use an `ignore` comment directly above the line:\n\n```dart\n// ignore: public_member_api_docs\nclass A {}\n```\n\n### File Level\n\nTo suppress a specific lint rule of a specific file, use an `ignore_for_file` comment at the top of the file:\n\n```dart\n// ignore_for_file: public_member_api_docs\n\nclass A {}\n\nclass B {}\n```\n\n### Project Level\n\nTo suppress a specific lint rule for an entire project, modify `analysis_options.yaml`:\n\n```yaml\ninclude: package:zds_analysis/analysis_options.yaml\nlinter:\n  rules:\n    public_member_api_docs: false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebradevs%2Fzds_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebradevs%2Fzds_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebradevs%2Fzds_analysis/lists"}