Skip to content

Commit aa56147

Browse files
committed
[compiler] Script to produce markdown of lint rule docs (facebook#34260)
The docs site is in a separate repo, but this gives us a semi-automated way to update the docs about our lint rules. The script generates markdown files from the rule definitions which we can then manually copy/paste into the docs site somewhere. In the future we can automate this fully. DiffTrain build for [425ba0a](facebook@425ba0a)
1 parent a458745 commit aa56147

26 files changed

+145
-119
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.2.0-native-fb-11d7bcf8-20250822
1+
19.2.0-native-fb-425ba0ad-20250822

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<43d7c875bc1169b529233c224a367168>>
10+
* @generated SignedSource<<1958ebaac0d3d6fb4cedd53a75c44d46>>
1111
*/
1212

1313
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
404404
exports.useFormStatus = function () {
405405
return resolveDispatcher().useHostTransitionStatus();
406406
};
407-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
407+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";
408408
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<4142e8d73babf79dcb9f48894dfda318>>
10+
* @generated SignedSource<<7d47151e34737748daaa2f20c2b91bf6>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
206+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<4142e8d73babf79dcb9f48894dfda318>>
10+
* @generated SignedSource<<7d47151e34737748daaa2f20c2b91bf6>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
206+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<ccf0261894b0223cac6347fcdde8db74>>
10+
* @generated SignedSource<<59cd6456ff6eae2f85535f7bedf9304c>>
1111
*/
1212

1313
/*
@@ -26319,7 +26319,11 @@ __DEV__ &&
2631926319
"aria-rowcount": 0,
2632026320
"aria-rowindex": 0,
2632126321
"aria-rowspan": 0,
26322-
"aria-setsize": 0
26322+
"aria-setsize": 0,
26323+
"aria-braillelabel": 0,
26324+
"aria-brailleroledescription": 0,
26325+
"aria-colindextext": 0,
26326+
"aria-rowindextext": 0
2632326327
},
2632426328
warnedProperties$1 = {},
2632526329
rARIA$1 = RegExp(
@@ -29363,11 +29367,11 @@ __DEV__ &&
2936329367
};
2936429368
(function () {
2936529369
var isomorphicReactPackageVersion = React.version;
29366-
if ("19.2.0-native-fb-11d7bcf8-20250822" !== isomorphicReactPackageVersion)
29370+
if ("19.2.0-native-fb-425ba0ad-20250822" !== isomorphicReactPackageVersion)
2936729371
throw Error(
2936829372
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2936929373
(isomorphicReactPackageVersion +
29370-
"\n - react-dom: 19.2.0-native-fb-11d7bcf8-20250822\nLearn more: https://react.dev/warnings/version-mismatch")
29374+
"\n - react-dom: 19.2.0-native-fb-425ba0ad-20250822\nLearn more: https://react.dev/warnings/version-mismatch")
2937129375
);
2937229376
})();
2937329377
("function" === typeof Map &&
@@ -29404,10 +29408,10 @@ __DEV__ &&
2940429408
!(function () {
2940529409
var internals = {
2940629410
bundleType: 1,
29407-
version: "19.2.0-native-fb-11d7bcf8-20250822",
29411+
version: "19.2.0-native-fb-425ba0ad-20250822",
2940829412
rendererPackageName: "react-dom",
2940929413
currentDispatcherRef: ReactSharedInternals,
29410-
reconcilerVersion: "19.2.0-native-fb-11d7bcf8-20250822"
29414+
reconcilerVersion: "19.2.0-native-fb-425ba0ad-20250822"
2941129415
};
2941229416
internals.overrideHookState = overrideHookState;
2941329417
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29546,5 +29550,5 @@ __DEV__ &&
2954629550
listenToAllSupportedEvents(container);
2954729551
return new ReactDOMHydrationRoot(initialChildren);
2954829552
};
29549-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
29553+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";
2955029554
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<b5f7095382fe7ff2a684f3c0b1d86d8c>>
10+
* @generated SignedSource<<4f1298c7ec539cc61196ff845012c819>>
1111
*/
1212

1313
/*
@@ -17190,14 +17190,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1719017190
};
1719117191
var isomorphicReactPackageVersion$jscomp$inline_2023 = React.version;
1719217192
if (
17193-
"19.2.0-native-fb-11d7bcf8-20250822" !==
17193+
"19.2.0-native-fb-425ba0ad-20250822" !==
1719417194
isomorphicReactPackageVersion$jscomp$inline_2023
1719517195
)
1719617196
throw Error(
1719717197
formatProdErrorMessage(
1719817198
527,
1719917199
isomorphicReactPackageVersion$jscomp$inline_2023,
17200-
"19.2.0-native-fb-11d7bcf8-20250822"
17200+
"19.2.0-native-fb-425ba0ad-20250822"
1720117201
)
1720217202
);
1720317203
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17219,10 +17219,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1721917219
};
1722017220
var internals$jscomp$inline_2554 = {
1722117221
bundleType: 0,
17222-
version: "19.2.0-native-fb-11d7bcf8-20250822",
17222+
version: "19.2.0-native-fb-425ba0ad-20250822",
1722317223
rendererPackageName: "react-dom",
1722417224
currentDispatcherRef: ReactSharedInternals,
17225-
reconcilerVersion: "19.2.0-native-fb-11d7bcf8-20250822"
17225+
reconcilerVersion: "19.2.0-native-fb-425ba0ad-20250822"
1722617226
};
1722717227
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1722817228
var hook$jscomp$inline_2555 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17320,4 +17320,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1732017320
listenToAllSupportedEvents(container);
1732117321
return new ReactDOMHydrationRoot(initialChildren);
1732217322
};
17323-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
17323+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<d7731780a52e3032a7da15317f85fe27>>
10+
* @generated SignedSource<<f665a1f87d698f79753bc0fc16969c94>>
1111
*/
1212

1313
/*
@@ -19200,14 +19200,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1920019200
};
1920119201
var isomorphicReactPackageVersion$jscomp$inline_2274 = React.version;
1920219202
if (
19203-
"19.2.0-native-fb-11d7bcf8-20250822" !==
19203+
"19.2.0-native-fb-425ba0ad-20250822" !==
1920419204
isomorphicReactPackageVersion$jscomp$inline_2274
1920519205
)
1920619206
throw Error(
1920719207
formatProdErrorMessage(
1920819208
527,
1920919209
isomorphicReactPackageVersion$jscomp$inline_2274,
19210-
"19.2.0-native-fb-11d7bcf8-20250822"
19210+
"19.2.0-native-fb-425ba0ad-20250822"
1921119211
)
1921219212
);
1921319213
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19229,10 +19229,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1922919229
};
1923019230
var internals$jscomp$inline_2281 = {
1923119231
bundleType: 0,
19232-
version: "19.2.0-native-fb-11d7bcf8-20250822",
19232+
version: "19.2.0-native-fb-425ba0ad-20250822",
1923319233
rendererPackageName: "react-dom",
1923419234
currentDispatcherRef: ReactSharedInternals,
19235-
reconcilerVersion: "19.2.0-native-fb-11d7bcf8-20250822",
19235+
reconcilerVersion: "19.2.0-native-fb-425ba0ad-20250822",
1923619236
getLaneLabelMap: function () {
1923719237
for (
1923819238
var map = new Map(), lane = 1, index$321 = 0;
@@ -19346,4 +19346,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1934619346
listenToAllSupportedEvents(container);
1934719347
return new ReactDOMHydrationRoot(initialChildren);
1934819348
};
19349-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
19349+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<cf5c2ecdfa882b3fc17d86bcb07c03d9>>
10+
* @generated SignedSource<<f16bda0e61792eb50be23bcc8c98a37d>>
1111
*/
1212

1313
/*
@@ -26375,7 +26375,11 @@ __DEV__ &&
2637526375
"aria-rowcount": 0,
2637626376
"aria-rowindex": 0,
2637726377
"aria-rowspan": 0,
26378-
"aria-setsize": 0
26378+
"aria-setsize": 0,
26379+
"aria-braillelabel": 0,
26380+
"aria-brailleroledescription": 0,
26381+
"aria-colindextext": 0,
26382+
"aria-rowindextext": 0
2637926383
},
2638026384
warnedProperties$1 = {},
2638126385
rARIA$1 = RegExp(
@@ -29419,11 +29423,11 @@ __DEV__ &&
2941929423
};
2942029424
(function () {
2942129425
var isomorphicReactPackageVersion = React.version;
29422-
if ("19.2.0-native-fb-11d7bcf8-20250822" !== isomorphicReactPackageVersion)
29426+
if ("19.2.0-native-fb-425ba0ad-20250822" !== isomorphicReactPackageVersion)
2942329427
throw Error(
2942429428
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2942529429
(isomorphicReactPackageVersion +
29426-
"\n - react-dom: 19.2.0-native-fb-11d7bcf8-20250822\nLearn more: https://react.dev/warnings/version-mismatch")
29430+
"\n - react-dom: 19.2.0-native-fb-425ba0ad-20250822\nLearn more: https://react.dev/warnings/version-mismatch")
2942729431
);
2942829432
})();
2942929433
("function" === typeof Map &&
@@ -29460,10 +29464,10 @@ __DEV__ &&
2946029464
!(function () {
2946129465
var internals = {
2946229466
bundleType: 1,
29463-
version: "19.2.0-native-fb-11d7bcf8-20250822",
29467+
version: "19.2.0-native-fb-425ba0ad-20250822",
2946429468
rendererPackageName: "react-dom",
2946529469
currentDispatcherRef: ReactSharedInternals,
29466-
reconcilerVersion: "19.2.0-native-fb-11d7bcf8-20250822"
29470+
reconcilerVersion: "19.2.0-native-fb-425ba0ad-20250822"
2946729471
};
2946829472
internals.overrideHookState = overrideHookState;
2946929473
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29918,7 +29922,7 @@ __DEV__ &&
2991829922
exports.useFormStatus = function () {
2991929923
return resolveDispatcher().useHostTransitionStatus();
2992029924
};
29921-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
29925+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";
2992229926
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2992329927
"function" ===
2992429928
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<d0e42edd2173acee2294ac8566251d7f>>
10+
* @generated SignedSource<<4a4d2b309a9b1b1765c21bc2090abb0d>>
1111
*/
1212

1313
/*
@@ -17201,14 +17201,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1720117201
};
1720217202
var isomorphicReactPackageVersion$jscomp$inline_2024 = React.version;
1720317203
if (
17204-
"19.2.0-native-fb-11d7bcf8-20250822" !==
17204+
"19.2.0-native-fb-425ba0ad-20250822" !==
1720517205
isomorphicReactPackageVersion$jscomp$inline_2024
1720617206
)
1720717207
throw Error(
1720817208
formatProdErrorMessage(
1720917209
527,
1721017210
isomorphicReactPackageVersion$jscomp$inline_2024,
17211-
"19.2.0-native-fb-11d7bcf8-20250822"
17211+
"19.2.0-native-fb-425ba0ad-20250822"
1721217212
)
1721317213
);
1721417214
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17230,10 +17230,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1723017230
};
1723117231
var internals$jscomp$inline_2557 = {
1723217232
bundleType: 0,
17233-
version: "19.2.0-native-fb-11d7bcf8-20250822",
17233+
version: "19.2.0-native-fb-425ba0ad-20250822",
1723417234
rendererPackageName: "react-dom",
1723517235
currentDispatcherRef: ReactSharedInternals,
17236-
reconcilerVersion: "19.2.0-native-fb-11d7bcf8-20250822"
17236+
reconcilerVersion: "19.2.0-native-fb-425ba0ad-20250822"
1723717237
};
1723817238
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1723917239
var hook$jscomp$inline_2558 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17484,4 +17484,4 @@ exports.useFormState = function (action, initialState, permalink) {
1748417484
exports.useFormStatus = function () {
1748517485
return ReactSharedInternals.H.useHostTransitionStatus();
1748617486
};
17487-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
17487+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<1daa414893b6a97496de28ca688f6166>>
10+
* @generated SignedSource<<501bcca02426f62fafde0366d99942f4>>
1111
*/
1212

1313
/*
@@ -19215,14 +19215,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1921519215
};
1921619216
var isomorphicReactPackageVersion$jscomp$inline_2275 = React.version;
1921719217
if (
19218-
"19.2.0-native-fb-11d7bcf8-20250822" !==
19218+
"19.2.0-native-fb-425ba0ad-20250822" !==
1921919219
isomorphicReactPackageVersion$jscomp$inline_2275
1922019220
)
1922119221
throw Error(
1922219222
formatProdErrorMessage(
1922319223
527,
1922419224
isomorphicReactPackageVersion$jscomp$inline_2275,
19225-
"19.2.0-native-fb-11d7bcf8-20250822"
19225+
"19.2.0-native-fb-425ba0ad-20250822"
1922619226
)
1922719227
);
1922819228
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19244,10 +19244,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1924419244
};
1924519245
var internals$jscomp$inline_2282 = {
1924619246
bundleType: 0,
19247-
version: "19.2.0-native-fb-11d7bcf8-20250822",
19247+
version: "19.2.0-native-fb-425ba0ad-20250822",
1924819248
rendererPackageName: "react-dom",
1924919249
currentDispatcherRef: ReactSharedInternals,
19250-
reconcilerVersion: "19.2.0-native-fb-11d7bcf8-20250822",
19250+
reconcilerVersion: "19.2.0-native-fb-425ba0ad-20250822",
1925119251
getLaneLabelMap: function () {
1925219252
for (
1925319253
var map = new Map(), lane = 1, index$321 = 0;
@@ -19514,7 +19514,7 @@ exports.useFormState = function (action, initialState, permalink) {
1951419514
exports.useFormStatus = function () {
1951519515
return ReactSharedInternals.H.useHostTransitionStatus();
1951619516
};
19517-
exports.version = "19.2.0-native-fb-11d7bcf8-20250822";
19517+
exports.version = "19.2.0-native-fb-425ba0ad-20250822";
1951819518
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1951919519
"function" ===
1952019520
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)