Skip to content

lib: replace BigInt64Array global by the primordials

Hello, For this PR I have added BigInt64Array in the primordials eslint And i just have created a line in "/lib/.eslintrc.yaml".

rules:
  no-restricted-globals:
  - name: BigInt64Array
      message: "Use `const { BigInt64Array } = primordials;` instead of the global."

And just add Set.

const {
  // [...]
  BigInt64Array,
} = primordials;

I hope this new PR will help you :x

Merge request reports

Loading