ashtuchkin / iconv-lite

Convert character encodings in pure javascript.
MIT License
3.08k stars 282 forks source link

Add no-buffer-constructor eslint rule #266

Closed ashtuchkin closed 3 years ago

ashtuchkin commented 3 years ago

Now that we've dropped safer-buffer package, let's add a linter rule to avoid breakage in the future, as recommended by https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md#variant-1