Properly format style names for lint.

Fixes #367.