diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index 0592218e5705a7..97cc264c8ff804 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -23,6 +23,8 @@ rules: message: "Use `const { Error } = primordials;` instead of the global." - name: Float32Array message: "Use `const { Float32Array } = primordials;` instead of the global." + - name: Int16Array + message: "Use `const { Int16Array } = primordials;` instead of the global." - name: JSON message: "Use `const { JSON } = primordials;` instead of the global." - name: Map diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index be3c497c6869c0..40ed7ef75637b0 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -13,6 +13,7 @@ const { ErrorPrototypeToString, Float32Array, FunctionPrototypeToString, + Int16Array, JSONStringify, Map, MapPrototype,