make lint use ref, whitelist nil, true, false