Skip to content

Commit

Permalink
increase DEV_NODE_VERSIONS to ^16.13
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 6, 2022
1 parent 4c64845 commit 666631a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 666631a

Please sign in to comment.