Checks for redundant async in a method or function body.| dcm.dev
Avoid passing asynchronous function as an argument where a synchronous function is expected.| dcm.dev
DCM supports global configuration, but only for setting the executable version constraint.| dcm.dev
Rules are one of the core building blocks of DCM. A rule validates if your code meets a certain expectation, and what to do if it does not meet that expectation.| dcm.dev
Fixes issues produced by dcm analyze, dcm check-unused-code, dcm check-unused-files or dcm check-dependencies commands.| dcm.dev
DCM is designed to be flexible and configurable for your use case. You can enable metrics or rules individually, or have both metrics and rules enabled.| dcm.dev
This guide walks you through the complete process of integrating your project with DCM Dashboards from creating a project and choosing an upload strategy, to uploading your analysis results and generating reports.| dcm.dev
DCM Dashboards help you get an overview of all open issues (from the lint rules and code quality checks) and metric violations across all your projects, and how those numbers change over time.| dcm.dev
DCM also excludes files listed in the analyzer exclude: option. For example,| dcm.dev
The following table shows all available analysis commands:| dcm.dev
Find a plan that is right for you.| dcm.dev
DCM is designed with your needs in mind. There is no code style that suits everyone. Choose the rules and metrics that will help you, and customize them so that they help you as effectively as possible.| dcm.dev
Reports unused members of classes that provide localization strings.| dcm.dev
Reports unused *.dart files.| dcm.dev
Reports unused declarations (classes, fields, properties, methods, functions, variables, extensions, enums, mixins and type aliases).| dcm.dev
To use DCM with GitLab CI/CD, configure a GitLab pipeline in the pipeline editor,| dcm.dev
To use DCM with GitHub, install dedicated GitHub Actions: setup-dcm and dcm-action.| dcm.dev
To use DCM with Bitbucket CI/CD, create a bitbucket-pipelines.yaml file in the root of your application (or use Bitbucket pipeline in the dashboard) and add a step that runs DCM commands.| dcm.dev
To use DCM with Azure DevOps CI/CD, create an azure-pipelines.yml file in the root of your application (or use the Azure DevOps pipeline setup in the dashboard) and add a step that runs DCM commands.| dcm.dev
Welcome to the official documentation for DCM, a comprehensive toolkit designed to help your team be more productive, and to enhance the quality and maintainability of your Dart and Flutter codebases.| dcm.dev
Static analysis tool that helps improve the quality and consistency of Dart code by identifying and reporting problems, such as bugs and code that doesn't follow best practices.| dcm.dev
One of the most challenging parts of adopting a linter is integrating it into an existing codebase. That's especially true for old projects or projects developed by large teams as the number of warnings may be overwhelming.| dcm.dev
Presets are predefined sets or rules/metrics (for example, for a particular package or for a particular set of problems) that help you quickly configure DCM.| dcm.dev
Runs multiple DCM commands at once and provides the merged output (console, code climate / gitlab, json, checkstyle or sonar).| dcm.dev
General command to set up DCM. Supports three subcommands: "baseline", "lints-preview" and "metrics-preview".| dcm.dev
Reports duplicate functions, methods, constructors and test cases.| dcm.dev
Reports missing, under-promoted, over-promoted, and unused dependencies.| dcm.dev
Reports the quality and usage of your widgets.| dcm.dev
Reports various issues with image assets.| dcm.dev
The website from which you got to this page is protected by Cloudflare. Email addresses on that page have been hidden in order to keep them from being accessed by malicious bots. You must enable Javascript in your browser in order to decode the e-mail address.| dcm.dev
Static analysis tool that helps improve the quality and consistency of Dart code by identifying and reporting problems, such as bugs and code that doesn't follow best practices.| dcm.dev