Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The "no-irregular-whitespace" rule prevents proper typography in comments outside English. #5368
So I moved to Standard, and am advocating it. It finally got me to jump ship on semicolons, and I use this despite the "space before function decl/expr opening parens" rule, which I find fugly.
So thanks a ton for this cool tool!
But because of this rule, I can't use such spaces in my comment texts. So either I collapse these spaces, which looks and feels very weird to any French reader, or I use regular spaces, with the virtual guarantee that at least some of these will get wrapped at the beginning of lines in annotated code, looking terrible.
Isn't there a way to relax this rule for comment text? I can't find this relaxing mode in ESLint, but perhaps you know of a way? I get the rule inside code (and btw, it's relaxed within String literals), but inside comments? Who gives a damn?
A PR is ready; just creating this issue so I can ref it in there, as per your guidelines.