kx_lints 0.0.3
kx_lints: ^0.0.3 copied to clipboard
Opinionated Flutter lint rules that catch real bugs via custom_lint — file length, widget structure, theme access, magic numbers, hardcoded strings, and more. Configurable per-rule thresholds, quick-f [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add kx_lintsWith Flutter:
$ flutter pub add kx_lintsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
kx_lints: ^0.0.3Alternatively, 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:kx_lints/kx_lints.dart';