From 666631a690c519f39a96b16999681bbdea90c6b5 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Fri, 6 May 2022 16:35:16 +0700 Subject: [PATCH] increase `DEV_NODE_VERSIONS` to `^16.13` --- .eslintrc.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6a02b929d6bb..02aaff43252b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,7 @@ 'use strict'; const RESTRICTED_GLOBALS = require('confusing-browser-globals'); const SUPPORTED_NODE_VERSIONS = require('core-js-builder/package').engines.node; -const DEV_NODE_VERSIONS = '^14.15'; +const DEV_NODE_VERSIONS = '^16.13'; const ERROR = 'error'; const OFF = 'off'; const ALWAYS = 'always'; @@ -920,14 +920,9 @@ const nodePackages = { const nodeDev = { ...asyncAwait, - // prefer lookarounds over capturing group that do not replace - 'regexp/prefer-lookaround': ERROR, // disallow unsupported ECMAScript built-ins on the specified version 'n/no-unsupported-features/node-builtins': [ERROR, { version: DEV_NODE_VERSIONS }], ...disable(forbidModernESBuiltIns), - ...forbidES2021BuiltIns, - ...forbidES2022BuiltIns, - 'es-x/no-weakrefs': OFF, }; const tests = {