diff --git a/.eslintrc.js b/.eslintrc.js index 583e3c8d991..4e8dda505fa 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -82,7 +82,6 @@ module.exports = defineConfig({ 'unicorn/prefer-module': 'off', 'unicorn/prefer-native-coercion-functions': 'off', 'unicorn/prefer-negative-index': 'off', - 'unicorn/prefer-node-protocol': 'off', 'unicorn/prefer-number-properties': 'off', 'unicorn/prefer-object-from-entries': 'off', 'unicorn/prefer-optional-catch-binding': 'off', diff --git a/scripts/apidoc/generate.ts b/scripts/apidoc/generate.ts index f047cc496ba..fa05dec67e8 100644 --- a/scripts/apidoc/generate.ts +++ b/scripts/apidoc/generate.ts @@ -1,4 +1,4 @@ -import { resolve } from 'path'; +import { resolve } from 'node:path'; import { writeApiDiffIndex, writeApiPagesIndex,