From d9a13a37c6adcd7d018d00a269f99a578db85f86 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Wed, 4 Feb 2026 17:10:35 +0100 Subject: [PATCH 1/4] Add .cursorignore file --- .cursorignore | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .cursorignore diff --git a/.cursorignore b/.cursorignore new file mode 100644 index 0000000000000..3a8d62dd59ff7 --- /dev/null +++ b/.cursorignore @@ -0,0 +1,37 @@ +# --- Artifacts & Build --- +.chromium/ +.cursor/ +.es/ +.github/ +.native_modulees/ +.node_binaries/ +.vscode/ +.yarn-local-mirror +build/ +data/ +# could be useful to gather context from 3rd party dependencies +# node_modules/ +target/ +trash/ +*.log +*.tmp +*.codeql +yarn.lock + +# Ignore binary assets +**/*.gz +**/*.tar.gz +**/*.zip +**/*.png +**/*.jpg +**/*.jpeg +**/*.gif +**/*.snap + +# Large JSON files +x-pack/platform/plugins/private/translations/translations/**/*.json + +# we ignore repo documentation in favor of live, hosted docs +# which can be injected using @Docs +docs/ +dev_docs/ From c5f03fce76b7807fb8b6f5b6c8c051a4910a6504 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Wed, 4 Feb 2026 17:13:46 +0100 Subject: [PATCH 2/4] Owned by tech-leads --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0df86b8ab5b02..1f30296eb5c03 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3242,6 +3242,7 @@ x-pack/solutions/security/test/moon.yml @elastic/kibana-operations # Leads approval /AGENTS.md @elastic/kibana-tech-leads +.cursorignore @elastic/kibana-tech-leads /.claude/ @elastic/kibana-tech-leads #### From d38bb12b96ae59f4f433f8582778195c56801caa Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Wed, 4 Feb 2026 17:31:23 +0100 Subject: [PATCH 3/4] Not needed --- .cursorignore | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/.cursorignore b/.cursorignore index 3a8d62dd59ff7..357bc2ff63ff9 100644 --- a/.cursorignore +++ b/.cursorignore @@ -1,37 +1,2 @@ -# --- Artifacts & Build --- -.chromium/ -.cursor/ -.es/ -.github/ -.native_modulees/ -.node_binaries/ -.vscode/ -.yarn-local-mirror -build/ -data/ -# could be useful to gather context from 3rd party dependencies -# node_modules/ -target/ -trash/ -*.log -*.tmp -*.codeql -yarn.lock - -# Ignore binary assets -**/*.gz -**/*.tar.gz -**/*.zip -**/*.png -**/*.jpg -**/*.jpeg -**/*.gif -**/*.snap - -# Large JSON files -x-pack/platform/plugins/private/translations/translations/**/*.json - -# we ignore repo documentation in favor of live, hosted docs -# which can be injected using @Docs -docs/ -dev_docs/ +# Cursor already ignores the files and patterns defined in the .gitignore file +# There is no need to create a dedicated .cursorignore file at the moment. From e20faa9c75ce0a81439e2720a534122087030334 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Thu, 5 Feb 2026 09:27:47 +0100 Subject: [PATCH 4/4] Improve comments on .cursorignore --- .cursorignore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.cursorignore b/.cursorignore index 357bc2ff63ff9..9b535d61c3345 100644 --- a/.cursorignore +++ b/.cursorignore @@ -1,2 +1,3 @@ -# Cursor already ignores the files and patterns defined in the .gitignore file -# There is no need to create a dedicated .cursorignore file at the moment. +# Cursor already respects .gitignore. +# We tried adding .cursorignore rules for binary files (e.g. images, zip archives, fonts); +# index size was unchanged, so this file is left without those rules.