lint_mut_infect 0.1.0
lint_mut_infect: ^0.1.0 copied to clipboard
Custom lint rule that encourages tracking mutated variables throughout the your codebase
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lint_mut_infectThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lint_mut_infect: ^0.1.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lint_mut_infect/lint_mut_infect.dart';