Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Keep the generated CLI snippets out of the side-effect registry (#82172)

Romeo Van Snick6dc53c377345
diff --git a/frontend/lint/no-module-side-effects-options.js b/frontend/lint/no-module-side-effects-options.js
index 29ef10dfe8a..cfdf94bb515 100644
--- a/frontend/lint/no-module-side-effects-options.js
+++ b/frontend/lint/no-module-side-effects-options.js
@@ -28,6 +28,10 @@ const NO_MODULE_SIDE_EFFECTS_IGNORES = [
"**/tests/**",
"**/__support__/**",
"**/*.d.ts",
+ // Generated by the SDK CLI snippet type-check. The registry generator walks
+ // the source roots with readdir, which does not read .gitignore, so these
+ // appear whenever that job has run.
+ "**/cli-snippets-tmp/**",
];
module.exports = {