pio check

Perform a static analysis check on a PlatformIO project. More information: https://docs.platformio.org/en/latest/core/userguide/cmd_check.html.

pio check

pio check --project-dir project_dir

pio check --environment environment

pio check --severity low|medium|high

pio check --verbose