It's pretty common in our app to accidentally do:
import { isTesting } from '@embroider/macros'; // or isDevelopingApp
if (isTesting()) { /* do something expensive */ }
which is not stripped in production builds like this would be:
import { isTesting, macroCondition } from '@embroider/macros'; // or isDevelopingApp
if (macroCondition(isTesting())) { /* do something expensive */ }
I propose we allow people to lint against this. An autofix would be even nicer.