Rework :wrong-pre-post linter to tell locals from globals in conditions