bazel-contrib / bazel-contrib/buildtools
Is it possible to combine warnings="all" with - directive
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 471
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 13
Description
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 https://github.com/bazelbuild/bazel/issues/8746#issuecomment-704209400)
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?
Contributor guide
Research direction
Start by tracing how the warnings="all" setting and +/- directives are parsed and combined. Confirm whether exclusions for native-cc and native-java can be represented, and consider the issue complete when the requested combination is supported and its behavior is covered by the project’s existing validation or warning tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100