sky_router_lints 1.1.7
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
Navigatordirectly, suggestingRouteHandlerinstead.
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