@@ -23,6 +23,7 @@ module.exports = {
2323 'babel' ,
2424 'ft-flow' ,
2525 'jest' ,
26+ 'es' ,
2627 'no-for-of-loops' ,
2728 'no-function-declare-after-return' ,
2829 'react' ,
@@ -47,7 +48,7 @@ module.exports = {
4748 'ft-flow/no-unused-expressions' : ERROR ,
4849 // 'ft-flow/no-weak-types': WARNING,
4950 // 'ft-flow/require-valid-file-annotation': ERROR,
50-
51+ 'es/no-optional-chaining' : ERROR ,
5152 'no-cond-assign' : OFF ,
5253 'no-constant-condition' : OFF ,
5354 'no-control-regex' : OFF ,
@@ -302,7 +303,6 @@ module.exports = {
302303 ERROR ,
303304 { isProductionUserAppCode : true } ,
304305 ] ,
305- 'react-internal/no-to-warn-dev-within-to-throw' : ERROR ,
306306 'react-internal/warning-args' : ERROR ,
307307 'react-internal/no-production-logging' : ERROR ,
308308 } ,
@@ -329,6 +329,7 @@ module.exports = {
329329 'packages/react-server-dom-esm/**/*.js' ,
330330 'packages/react-server-dom-webpack/**/*.js' ,
331331 'packages/react-server-dom-turbopack/**/*.js' ,
332+ 'packages/react-server-dom-parcel/**/*.js' ,
332333 'packages/react-server-dom-fb/**/*.js' ,
333334 'packages/react-test-renderer/**/*.js' ,
334335 'packages/react-debug-tools/**/*.js' ,
@@ -435,6 +436,7 @@ module.exports = {
435436 'packages/react-dom/src/test-utils/*.js' ,
436437 ] ,
437438 rules : {
439+ 'es/no-optional-chaining' : OFF ,
438440 'react-internal/no-production-logging' : OFF ,
439441 'react-internal/warning-args' : OFF ,
440442 'react-internal/safe-string-coercion' : [
@@ -479,6 +481,12 @@ module.exports = {
479481 __turbopack_require__ : 'readonly' ,
480482 } ,
481483 } ,
484+ {
485+ files : [ 'packages/react-server-dom-parcel/**/*.js' ] ,
486+ globals : {
487+ parcelRequire : 'readonly' ,
488+ } ,
489+ } ,
482490 {
483491 files : [ 'packages/scheduler/**/*.js' ] ,
484492 globals : {
@@ -488,16 +496,19 @@ module.exports = {
488496 {
489497 files : [
490498 'packages/react-devtools-extensions/**/*.js' ,
499+ 'packages/react-devtools-shared/src/devtools/views/**/*.js' ,
491500 'packages/react-devtools-shared/src/hook.js' ,
492501 'packages/react-devtools-shared/src/backend/console.js' ,
493502 'packages/react-devtools-shared/src/backend/shared/DevToolsComponentStackFrame.js' ,
503+ 'packages/react-devtools-shared/src/frontend/utils/withPermissionsCheck.js' ,
494504 ] ,
495505 globals : {
496506 __IS_CHROME__ : 'readonly' ,
497507 __IS_FIREFOX__ : 'readonly' ,
498508 __IS_EDGE__ : 'readonly' ,
499509 __IS_NATIVE__ : 'readonly' ,
500510 __IS_INTERNAL_VERSION__ : 'readonly' ,
511+ chrome : 'readonly' ,
501512 } ,
502513 } ,
503514 {
@@ -567,6 +578,7 @@ module.exports = {
567578 React$Node : 'readonly' ,
568579 React$Portal : 'readonly' ,
569580 React$Ref : 'readonly' ,
581+ React$RefSetter : 'readonly' ,
570582 ReadableStreamController : 'readonly' ,
571583 ReadableStreamReader : 'readonly' ,
572584 RequestInfo : 'readonly' ,
@@ -580,6 +592,11 @@ module.exports = {
580592 WheelEventHandler : 'readonly' ,
581593 FinalizationRegistry : 'readonly' ,
582594 Omit : 'readonly' ,
595+ Keyframe : 'readonly' ,
596+ PropertyIndexedKeyframes : 'readonly' ,
597+ KeyframeAnimationOptions : 'readonly' ,
598+ GetAnimationsOptions : 'readonly' ,
599+ Animatable : 'readonly' ,
583600
584601 spyOnDev : 'readonly' ,
585602 spyOnDevAndProd : 'readonly' ,
0 commit comments