Closed steven2358 closed 1 year ago
@sindresorhus Ok, I changed the rule so it strips any non-word character: [^\w], equivalent to [a-zA-Z_0-9].
The change is in 2ece4a9
Linting is failing. Always run npm test
locally before pushing changes ;)
Ok, I ran npm test
and fixed my code.
Fixes #153.
This PR fixes the errors that appear when having apostrophes or interpuncts in the first word of the description. Examples that produced an error but now pass: