1 # bend-lint-rules: BendHub entry. Importing this file publishes all five rules and their helpers 2 # as one package; bend-lint loads each rule from its own file (rules/*/*.bend), not from here. 3 # 4 # The rules' shared dependency on bend-lint's rule API is vendored unmodified in vendor/lint.bend 5 # (Apache-2.0, see vendor/LICENSE-APACHE-2.0); everything else in the package is GPL-3.0-or-later (LICENSE). 6 import Base 7 import ./dead/def.bend as DeadDef 8 import ./complexity/cyclomatic.bend as Cyclomatic 9 import ./complexity/cognitive.bend as Cognitive 10 import ./graph/fan_out.bend as FanOut 11 import ./graph/fan_in.bend as FanIn 12 13 def main() -> IO(Unit): 14 IO.pure(Unit, Unit{})