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

Is it possible to combine warnings="all" with - directive #1187

Open
DavidZbarsky-at opened this issue Aug 26, 2023 · 1 comment
Open

Is it possible to combine warnings="all" with - directive #1187

DavidZbarsky-at opened this issue Aug 26, 2023 · 1 comment

Comments

@DavidZbarsky-at
Copy link

I would like to enable almost all the warnings, except for native-cc and native-java (it's unclear that those warnings are valid given bazelbuild/bazel#8746 (comment))

It looks like it's not possible to start with the all list and then add plus/minus operators, only from the default list (by only supplying +/- directives). Is there an easy way to accomplish what I'm trying to do, or any appetite to make this possible?

@martis42
Copy link

martis42 commented Dec 17, 2023

I second this request. Not being able to conveniently configure "all warnings except a selected few" is bothering me as well every time I setup buildifier in some project.

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

No branches or pull requests

3 participants
@martis42 @DavidZbarsky-at and others