From ef87fea599388d6e38f99888a70f837eb2d79e36 Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Tue, 12 Mar 2024 23:02:47 +0000 Subject: [PATCH 1/2] Revert "path (#18)" This reverts commit 2394a3c1316d138b4c8556b8603bdd66493ededd. --- scripts/eslint_rules/lib/check_license_header.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/eslint_rules/lib/check_license_header.js b/scripts/eslint_rules/lib/check_license_header.js index c23b6d9eeac..ff028969730 100644 --- a/scripts/eslint_rules/lib/check_license_header.js +++ b/scripts/eslint_rules/lib/check_license_header.js @@ -70,7 +70,6 @@ const META_CODE_PATHS = [ 'entrypoints/rn_inspector', 'panels/rn_welcome', 'core/host/RNPerfMetrics.ts', - 'global_typings/react_native.d.ts', ]; const OTHER_LICENSE_HEADERS = [ From 49ad5a66ddd042d89730de1215c0dfb12a0f8f13 Mon Sep 17 00:00:00 2001 From: Edmond Chui <1967998+EdmondChuiHW@users.noreply.github.com> Date: Wed, 13 Mar 2024 00:11:15 +0000 Subject: [PATCH 2/2] Add global typings to Meta license path --- scripts/eslint_rules/lib/check_license_header.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/eslint_rules/lib/check_license_header.js b/scripts/eslint_rules/lib/check_license_header.js index ff028969730..c23b6d9eeac 100644 --- a/scripts/eslint_rules/lib/check_license_header.js +++ b/scripts/eslint_rules/lib/check_license_header.js @@ -70,6 +70,7 @@ const META_CODE_PATHS = [ 'entrypoints/rn_inspector', 'panels/rn_welcome', 'core/host/RNPerfMetrics.ts', + 'global_typings/react_native.d.ts', ]; const OTHER_LICENSE_HEADERS = [