We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Buffer
Uint8Array
1 parent 5f45eda commit d7fff2eCopy full SHA for d7fff2e
index.js
@@ -164,6 +164,12 @@ module.exports = {
164
message: 'Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7',
165
fixWith: 'undefined'
166
},
167
+ Buffer: {
168
+ message: 'Use Uint8Array instead. See: https://sindresorhus.com/blog/goodbye-nodejs-buffer',
169
+ suggest: [
170
+ 'Uint8Array'
171
+ ]
172
+ },
173
'[]': 'Don\'t use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.',
174
'[[]]': 'Don\'t use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.',
175
'[[[]]]': 'Don\'t use `[[[]]]`. Use `SomeType[][][]` instead.',
0 commit comments