lasselupe33 / eslint-plugin-comment-length

MIT License
13 stars 3 forks source link

Treat @ts directives as special #3

Closed iamakulov closed 1 year ago

iamakulov commented 1 year ago

Hey, thanks for a great plugin!

This PR makes the plugin treat comments like

// @ts-ignore Ignore the next line because (long reason exceeding 80 characters and making the line very long)

as special. These comments affect how TypeScript treats the next line and therefore must not be wrapped into multiple lines.

lasselupe33 commented 1 year ago

Makes perfect sense, I'll merge your changes immediately. Thanks for the contribution :)

v0.9.3 will be released some time this week including this PR.