Skip to content

Add .MODULE.bazel extension to Starlark#7930

Open
auscompgeek wants to merge 2 commits intogithub-linguist:mainfrom
auscompgeek:patch-1
Open

Add .MODULE.bazel extension to Starlark#7930
auscompgeek wants to merge 2 commits intogithub-linguist:mainfrom
auscompgeek:patch-1

Conversation

@auscompgeek
Copy link
Copy Markdown

Description

Bazel, in some circumstances, supports splitting a MODULE.bazel file into multiple *.MODULE.bazel files with an include() directive.

Checklist:

@auscompgeek auscompgeek requested a review from a team as a code owner April 25, 2026 12:27
extensions:
- ".bzl"
- ".star"
- ".MODULE.bazel"
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe both .bzl and .star should both be considered the "primary" extensions for Starlark (.star being the tool-agnostic extension, .bzl being widely used in Bazel), so I'm adding this after both per the contributing docs.

Copy link
Copy Markdown
Member

@lildude lildude May 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can only have one primary and it should be first. The rest need to be in alphabetical order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants