A know issue for PlatformIO is that "Smart Code Linter is disabled for Arduino files". https://docs.platformio.org/en/latest/ide/atom.html#known-issues We should consider if we should adopt the workarounds.