diff --git a/index.js b/index.js index 0f359d2..557922a 100644 --- a/index.js +++ b/index.js @@ -164,6 +164,12 @@ module.exports = { message: 'Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7', fixWith: 'undefined' }, + Buffer: { + message: 'Use Uint8Array instead.', + suggest: [ + 'Uint8Array' + ] + }, '[]': 'Don\'t use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.', '[[]]': 'Don\'t use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.', '[[[]]]': 'Don\'t use `[[[]]]`. Use `SomeType[][][]` instead.',