Sindre Sorhus

Results 4192 comments of Sindre Sorhus

Not sure we could do it by default (for both JS and TS files) as it could have slightly different semantics than JS. I think the best would be to...

I agree that this is a useful pattern and should not be reported on.

The convention in Node.js (and as used in most Node.js docs) is `utf8`, and I don't see any reason to break that. I'm not against adding an option to support...

The name is incorrect. Should be something like `ExtractLiterals`. Same with the docs and descriptions. And I think it should be strict by default.