Skip to content

Commit 47e056f

Browse files
committed
drop obsolete methods from eslint config
1 parent 7ba243b commit 47e056f

File tree

1 file changed

+9
-98
lines changed

1 file changed

+9
-98
lines changed

tests/eslint/eslint.config.js

Lines changed: 9 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,18 +1249,9 @@ const forbidCompletelyNonExistentBuiltIns = {
12491249
'es/no-nonstandard-array-prototype-properties': [ERROR, { allow: [
12501250
'filterReject',
12511251
'uniqueBy',
1252-
// TODO: drop from `core-js@4`
1253-
'filterOut',
1254-
'group',
1255-
'groupBy',
1256-
'groupByToMap',
1257-
'groupToMap',
1258-
'lastIndex',
1259-
'lastItem',
12601252
] }],
12611253
'es/no-nonstandard-bigint-properties': [ERROR, { allow: [
1262-
// TODO: drop from `core-js@4`
1263-
'range',
1254+
// empty
12641255
] }],
12651256
'es/no-nonstandard-dataview-prototype-properties': [ERROR, { allow: [
12661257
'getUint8Clamped',
@@ -1278,12 +1269,8 @@ const forbidCompletelyNonExistentBuiltIns = {
12781269
'es/no-nonstandard-iterator-prototype-properties': [ERROR, { allow: [
12791270
'chunks',
12801271
'join',
1281-
'sliding',
12821272
'toAsync',
12831273
'windows',
1284-
// TODO: drop from `core-js@4`
1285-
'asIndexedPairs',
1286-
'indexed',
12871274
] }],
12881275
'es/no-nonstandard-json-properties': [ERROR, { allow: [
12891276
'isRawJSON',
@@ -1292,127 +1279,57 @@ const forbidCompletelyNonExistentBuiltIns = {
12921279
'es/no-nonstandard-map-properties': [ERROR, { allow: [
12931280
'from',
12941281
'of',
1295-
// TODO: drop from `core-js@4`
1296-
'keyBy',
12971282
] }],
12981283
'es/no-nonstandard-map-prototype-properties': [ERROR, { allow: [
12991284
'getOrInsert',
13001285
'getOrInsertComputed',
1301-
// TODO: drop from `core-js@4`
1302-
'deleteAll',
1303-
'emplace',
1304-
'every',
1305-
'filter',
1306-
'find',
1307-
'findKey',
1308-
'includes',
1309-
'keyOf',
1310-
'mapKeys',
1311-
'mapValues',
1312-
'merge',
1313-
'reduce',
1314-
'some',
1315-
'update',
1316-
'updateOrInsert',
1317-
'upsert',
13181286
] }],
13191287
'es/no-nonstandard-math-properties': [ERROR, { allow: [
1320-
// TODO: drop from `core-js@4`
1321-
'DEG_PER_RAD',
1322-
'RAD_PER_DEG',
1323-
'clamp',
1324-
'degrees',
1325-
'fscale',
1326-
'iaddh',
1327-
'imulh',
1328-
'isubh',
1329-
'radians',
1330-
'scale',
1331-
'seededPRNG',
1332-
'signbit',
1333-
'umulh',
1288+
// empty
13341289
] }],
13351290
'es/no-nonstandard-number-properties': [ERROR, { allow: [
1336-
// TODO: drop from `core-js@4`
1337-
'fromString',
1338-
'range',
1291+
// empty
13391292
] }],
13401293
'es/no-nonstandard-number-prototype-properties': [ERROR, { allow: [
13411294
'clamp',
13421295
] }],
13431296
'es/no-nonstandard-object-properties': [ERROR, { allow: [
1344-
// TODO: drop from `core-js@4`
1345-
'iterateEntries',
1346-
'iterateKeys',
1347-
'iterateValues',
1297+
// empty
13481298
] }],
13491299
'es/no-nonstandard-promise-properties': [ERROR, { allow: [
13501300
'allKeyed',
13511301
'allSettledKeyed',
13521302
] }],
13531303
'es/no-nonstandard-reflect-properties': [ERROR, { allow: [
1354-
// TODO: drop from `core-js@4`
1355-
'defineMetadata',
1356-
'deleteMetadata',
1357-
'getMetadata',
1358-
'getMetadataKeys',
1359-
'getOwnMetadata',
1360-
'getOwnMetadataKeys',
1361-
'hasMetadata',
1362-
'hasOwnMetadata',
1363-
'metadata',
1304+
// empty
13641305
] }],
13651306
'es/no-nonstandard-set-properties': [ERROR, { allow: [
13661307
'from',
13671308
'of',
13681309
] }],
13691310
'es/no-nonstandard-set-prototype-properties': [ERROR, { allow: [
1370-
// TODO: drop from `core-js@4`
1371-
'addAll',
1372-
'deleteAll',
1373-
'every',
1374-
'filter',
1375-
'find',
1376-
'join',
1377-
'map',
1378-
'reduce',
1379-
'some',
1311+
// empty
13801312
] }],
13811313
'es/no-nonstandard-string-properties': [ERROR, { allow: [
13821314
'cooked',
13831315
'dedent',
13841316
] }],
13851317
'es/no-nonstandard-string-prototype-properties': [ERROR, { allow: [
1386-
// TODO: drop from `core-js@4`
1387-
'codePoints',
1318+
// empty
13881319
] }],
13891320
'es/no-nonstandard-symbol-properties': [ERROR, { allow: [
13901321
'customMatcher',
13911322
'isRegisteredSymbol',
13921323
'isWellKnownSymbol',
13931324
'metadata',
13941325
'sham', // non-standard flag
1395-
// TODO: drop from `core-js@4`
1396-
'isRegistered',
1397-
'isWellKnown',
1398-
'matcher',
1399-
'metadataKey',
1400-
'observable',
1401-
'patternMatch',
1402-
'replaceAll',
1403-
'useSetter',
1404-
'useSimple',
14051326
] }],
14061327
'es/no-nonstandard-typed-array-properties': [ERROR, { allow: [
1407-
// TODO: drop from `core-js@4`
1408-
'fromAsync',
1328+
// empty
14091329
] }],
14101330
'es/no-nonstandard-typed-array-prototype-properties': [ERROR, { allow: [
14111331
'filterReject',
14121332
'uniqueBy',
1413-
// TODO: drop from `core-js@4`
1414-
'filterOut',
1415-
'groupBy',
14161333
] }],
14171334
'es/no-nonstandard-weakmap-properties': [ERROR, { allow: [
14181335
'from',
@@ -1421,19 +1338,13 @@ const forbidCompletelyNonExistentBuiltIns = {
14211338
'es/no-nonstandard-weakmap-prototype-properties': [ERROR, { allow: [
14221339
'getOrInsert',
14231340
'getOrInsertComputed',
1424-
// TODO: drop from `core-js@4`
1425-
'deleteAll',
1426-
'emplace',
1427-
'upsert',
14281341
] }],
14291342
'es/no-nonstandard-weakset-properties': [ERROR, { allow: [
14301343
'from',
14311344
'of',
14321345
] }],
14331346
'es/no-nonstandard-weakset-prototype-properties': [ERROR, { allow: [
1434-
// TODO: drop from `core-js@4`
1435-
'addAll',
1436-
'deleteAll',
1347+
// empty
14371348
] }],
14381349
};
14391350

0 commit comments

Comments
 (0)