fluvie_lints 0.1.0
fluvie_lints: ^0.1.0 copied to clipboard
custom_lint rules for the Fluvie video library: timing mistakes, determinism breaches, and the layering law.
example/README.md
fluvie_lints example #
Enable the rules in any package that uses Fluvie:
# analysis_options.yaml
analyzer:
plugins:
- custom_lint
Then run them:
dart run custom_lint
The Dart files under lib/ are fixtures: each one triggers a single rule and
carries an // expect_lint: marker showing what the rule catches (a dangling
anchor, a cyclic trigger, an unseeded Random(), a cross-package src import,
and so on). They double as the golden inputs for the rule tests.