d_rocket_lints 2.0.0
d_rocket_lints: ^2.0.0 copied to clipboard
Analyzer plugin rules for the d_rocket framework: detects closure LINQ calls (which run in-memory only and should be rewritten with Expr.lambda for SQL translation) and N+1 navigation fetches in loops.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add d_rocket_lintsWith Flutter:
$ flutter pub add d_rocket_lintsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
d_rocket_lints: ^2.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:d_rocket_lints/d_rocket_lints.dart';