Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add '.bazel' to extension list #407

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

Slowki
Copy link
Contributor

@Slowki Slowki commented Aug 17, 2023

Improve support for Bazel files by adding .bazel to the extension list for WORKSPACE.bazel and the new MODULE.bazel file. As a cleanup this also lets me take BUILD.bazel out of the filenames list.

Also it's reasonably common to use files names like BUILD.library_name_here.bazel (example here) - this also supports those files which is nice (related to #103 since that's an alternate naming convention for the same thing).

Improve support for Bazel files by adding `.bazel` to the extension list
to support files like `MODULE.bazel`, `WORKSPACE.bazel`, etc.
@asottile asottile merged commit 63d356f into pre-commit:main Aug 21, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants