Skip to content

constant-glob validates named include argument#1257

Merged
vladmos merged 5 commits intobazelbuild:masterfrom
mark-thm:me/fix-1256
Apr 12, 2024
Merged

constant-glob validates named include argument#1257
vladmos merged 5 commits intobazelbuild:masterfrom
mark-thm:me/fix-1256

Conversation

@mark-thm
Copy link
Contributor

@mark-thm mark-thm commented Mar 21, 2024

Fixes #1256.

Previously: constant-glob failed to warn when using named argument include with a constant pattern.

Now: constant-glob warns when using named argument include with a constant pattern or when the first unnamed argument uses a constant pattern.

@mark-thm mark-thm changed the title constant-glob validates named include and exclude arguments constant-glob validates named include arguments Mar 21, 2024
@mark-thm mark-thm changed the title constant-glob validates named include arguments constant-glob validates named include argument Mar 21, 2024
@meteorcloudy
Copy link
Member

@vladmos Can you take a look

Copy link
Member

@vladmos vladmos left a comment

Choose a reason for hiding this comment

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

Thanks!

@vladmos vladmos merged commit ebed8ee into bazelbuild:master Apr 12, 2024
apattidb pushed a commit to databricks/buildtools that referenced this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

constant-glob fails to lint when the first argument is named

3 participants