sky_router_lints 1.1.7 copy "sky_router_lints: ^1.1.7" to clipboard
sky_router_lints: ^1.1.7 copied to clipboard

Custom static analysis lints for the sky_router package, helping enforce RouteHandler usage.

sky_router_lints #

Custom static analysis lint rules for the sky_router package.

Features #

  • avoid_navigator: Warns developers when using Flutter's native Navigator directly, suggesting RouteHandler instead.

Installation #

Add sky_router_lints to your package or application dev_dependencies:

dev_dependencies:
  sky_router_lints: ^1.0.0

Configuration #

Enable the plugin and diagnostic code in your analysis_options.yaml:

plugins:
  sky_router_lints:
    diagnostics:
      avoid_navigator: true
0
likes
130
points
12
downloads

Documentation

API reference

Publisher

verified publisherskycore.dev

Weekly Downloads

Custom static analysis lints for the sky_router package, helping enforce RouteHandler usage.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer

More

Packages that depend on sky_router_lints