Analyze Command

This command analyzes all local packages in your workspace.

bash
melos analyze

--fatal-infos

Enforces a strict analysis by treating info-level issues as critical errors. By default this option is enabled for both dart analyze and flutter analyze, even though dart analyze does not treat info-level issues as fatal on its own.

bash
melos analyze --fatal-infos

--no-fatal-infos

Disables treating info-level issues as fatal errors, allowing the analysis process to complete successfully even if info-level issues are present.

bash
melos analyze --no-fatal-infos

--fatal-warnings

Enables treating warnings as fatal errors. When enabled, any warning will cause the analyzer to fail. By default this option is enabled.

bash
melos analyze --fatal-warnings

--no-fatal-warnings

This option configures the melos analyze command to ignore warnings, allowing the analysis process to complete successfully even if warnings are present.

bash
melos analyze --no-fatal-warnings

concurrency (-c)

Defines the max concurrency value of how many packages will execute the command in at any one time. Defaults to 1.

bash
# Set a 5 concurrency
melos analyze -c 5