Skip to content

Commit 5bd91c6

Browse files
committed
drop obsolete methods from eslint config
1 parent 5208537 commit 5bd91c6

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
@@ -1245,18 +1245,9 @@ const forbidCompletelyNonExistentBuiltIns = {
12451245
'es/no-nonstandard-array-prototype-properties': [ERROR, { allow: [
12461246
'filterReject',
12471247
'uniqueBy',
1248-
// TODO: drop from `core-js@4`
1249-
'filterOut',
1250-
'group',
1251-
'groupBy',
1252-
'groupByToMap',
1253-
'groupToMap',
1254-
'lastIndex',
1255-
'lastItem',
12561248
] }],
12571249
'es/no-nonstandard-bigint-properties': [ERROR, { allow: [
1258-
// TODO: drop from `core-js@4`
1259-
'range',
1250+
// empty
12601251
] }],
12611252
'es/no-nonstandard-dataview-prototype-properties': [ERROR, { allow: [
12621253
'getUint8Clamped',
@@ -1275,12 +1266,8 @@ const forbidCompletelyNonExistentBuiltIns = {
12751266
'es/no-nonstandard-iterator-prototype-properties': [ERROR, { allow: [
12761267
'chunks',
12771268
'join',
1278-
'sliding',
12791269
'toAsync',
12801270
'windows',
1281-
// TODO: drop from `core-js@4`
1282-
'asIndexedPairs',
1283-
'indexed',
12841271
] }],
12851272
'es/no-nonstandard-json-properties': [ERROR, { allow: [
12861273
'isRawJSON',
@@ -1289,127 +1276,57 @@ const forbidCompletelyNonExistentBuiltIns = {
12891276
'es/no-nonstandard-map-properties': [ERROR, { allow: [
12901277
'from',
12911278
'of',
1292-
// TODO: drop from `core-js@4`
1293-
'keyBy',
12941279
] }],
12951280
'es/no-nonstandard-map-prototype-properties': [ERROR, { allow: [
12961281
'getOrInsert',
12971282
'getOrInsertComputed',
1298-
// TODO: drop from `core-js@4`
1299-
'deleteAll',
1300-
'emplace',
1301-
'every',
1302-
'filter',
1303-
'find',
1304-
'findKey',
1305-
'includes',
1306-
'keyOf',
1307-
'mapKeys',
1308-
'mapValues',
1309-
'merge',
1310-
'reduce',
1311-
'some',
1312-
'update',
1313-
'updateOrInsert',
1314-
'upsert',
13151283
] }],
13161284
'es/no-nonstandard-math-properties': [ERROR, { allow: [
1317-
// TODO: drop from `core-js@4`
1318-
'DEG_PER_RAD',
1319-
'RAD_PER_DEG',
1320-
'clamp',
1321-
'degrees',
1322-
'fscale',
1323-
'iaddh',
1324-
'imulh',
1325-
'isubh',
1326-
'radians',
1327-
'scale',
1328-
'seededPRNG',
1329-
'signbit',
1330-
'umulh',
1285+
// empty
13311286
] }],
13321287
'es/no-nonstandard-number-properties': [ERROR, { allow: [
1333-
// TODO: drop from `core-js@4`
1334-
'fromString',
1335-
'range',
1288+
// empty
13361289
] }],
13371290
'es/no-nonstandard-number-prototype-properties': [ERROR, { allow: [
13381291
'clamp',
13391292
] }],
13401293
'es/no-nonstandard-object-properties': [ERROR, { allow: [
1341-
// TODO: drop from `core-js@4`
1342-
'iterateEntries',
1343-
'iterateKeys',
1344-
'iterateValues',
1294+
// empty
13451295
] }],
13461296
'es/no-nonstandard-promise-properties': [ERROR, { allow: [
13471297
'allKeyed',
13481298
'allSettledKeyed',
13491299
] }],
13501300
'es/no-nonstandard-reflect-properties': [ERROR, { allow: [
1351-
// TODO: drop from `core-js@4`
1352-
'defineMetadata',
1353-
'deleteMetadata',
1354-
'getMetadata',
1355-
'getMetadataKeys',
1356-
'getOwnMetadata',
1357-
'getOwnMetadataKeys',
1358-
'hasMetadata',
1359-
'hasOwnMetadata',
1360-
'metadata',
1301+
// empty
13611302
] }],
13621303
'es/no-nonstandard-set-properties': [ERROR, { allow: [
13631304
'from',
13641305
'of',
13651306
] }],
13661307
'es/no-nonstandard-set-prototype-properties': [ERROR, { allow: [
1367-
// TODO: drop from `core-js@4`
1368-
'addAll',
1369-
'deleteAll',
1370-
'every',
1371-
'filter',
1372-
'find',
1373-
'join',
1374-
'map',
1375-
'reduce',
1376-
'some',
1308+
// empty
13771309
] }],
13781310
'es/no-nonstandard-string-properties': [ERROR, { allow: [
13791311
'cooked',
13801312
'dedent',
13811313
] }],
13821314
'es/no-nonstandard-string-prototype-properties': [ERROR, { allow: [
1383-
// TODO: drop from `core-js@4`
1384-
'codePoints',
1315+
// empty
13851316
] }],
13861317
'es/no-nonstandard-symbol-properties': [ERROR, { allow: [
13871318
'customMatcher',
13881319
'isRegisteredSymbol',
13891320
'isWellKnownSymbol',
13901321
'metadata',
13911322
'sham', // non-standard flag
1392-
// TODO: drop from `core-js@4`
1393-
'isRegistered',
1394-
'isWellKnown',
1395-
'matcher',
1396-
'metadataKey',
1397-
'observable',
1398-
'patternMatch',
1399-
'replaceAll',
1400-
'useSetter',
1401-
'useSimple',
14021323
] }],
14031324
'es/no-nonstandard-typed-array-properties': [ERROR, { allow: [
1404-
// TODO: drop from `core-js@4`
1405-
'fromAsync',
1325+
// empty
14061326
] }],
14071327
'es/no-nonstandard-typed-array-prototype-properties': [ERROR, { allow: [
14081328
'filterReject',
14091329
'uniqueBy',
1410-
// TODO: drop from `core-js@4`
1411-
'filterOut',
1412-
'groupBy',
14131330
] }],
14141331
'es/no-nonstandard-weakmap-properties': [ERROR, { allow: [
14151332
'from',
@@ -1418,19 +1335,13 @@ const forbidCompletelyNonExistentBuiltIns = {
14181335
'es/no-nonstandard-weakmap-prototype-properties': [ERROR, { allow: [
14191336
'getOrInsert',
14201337
'getOrInsertComputed',
1421-
// TODO: drop from `core-js@4`
1422-
'deleteAll',
1423-
'emplace',
1424-
'upsert',
14251338
] }],
14261339
'es/no-nonstandard-weakset-properties': [ERROR, { allow: [
14271340
'from',
14281341
'of',
14291342
] }],
14301343
'es/no-nonstandard-weakset-prototype-properties': [ERROR, { allow: [
1431-
// TODO: drop from `core-js@4`
1432-
'addAll',
1433-
'deleteAll',
1344+
// empty
14341345
] }],
14351346
};
14361347

0 commit comments

Comments
 (0)