straight-edge (n.)
1812, "bar for drawing or measuring straight lines," from straight (adj.1) + edge (n.). As the name of a punk subculture, attested by 1987, probably suggested by straight (adj.2).