From 2850f68406960592b71a8e8ee21b1a8831f7348b Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 26 Nov 2024 13:58:18 +0100 Subject: [PATCH] Sustainable Kibana Architecture: Temporarily allow non-snake case package names (#201736) ## Summary In the context of _Sustainable Kibana Architecture_, we want to relocate plugins and packages to dedicated solutions folders. Current CI checks enforce snake case for new package names, and we cannot afford the extra churn of renaming all packages' folders during relocation. The PR aims at relaxing this constraint, only for the target folders of the relocation. --- src/dev/run_check_file_casing.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dev/run_check_file_casing.ts b/src/dev/run_check_file_casing.ts index 9ac610df14bd7..6b77e326abef8 100644 --- a/src/dev/run_check_file_casing.ts +++ b/src/dev/run_check_file_casing.ts @@ -26,6 +26,12 @@ run(async ({ log }) => { // so it's still super slow. This prevents loading the files // and still relies on gitignore to final ignores '**/node_modules', + // temporarily allow non-snake case for module names + // during relocation packages and plugins + // in the context of Sustainable Kibana Architecture + 'src/platform/**', + 'x-pack/platform/**', + 'x-pack/solutions/**', ], });