grab / grab-bazel-common

Common rules and macros for Grab's Android projects built with Bazel.
https://grab.github.io/grazel
Apache License 2.0
39 stars 15 forks source link

add lint custom rule inspector #174

Closed mohammadkahelghi-grabtaxi closed 6 months ago

mohammadkahelghi-grabtaxi commented 6 months ago

This utility tool helps you inspect which lint rules are applied to each target. Since lint rules can be indirectly applied to targets through AAR dependencies, it's beneficial to know exactly which rules are in effect for each target. This tool generates a JSON file that lists all the rules, provides detailed information about them, and indicates their source.

bazelisk run target_name.lint_inspector