style(filterSpec): fix white-space and newline inconsistencies

Closes #9765