fast_linter 0.2.0
fast_linter: ^0.2.0 copied to clipboard
AST-only Dart linter for speed. Runs existing AbstractAnalysisRule lint rules without type analysis by using only parseString() from package:analyzer.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fast_linterWith Flutter:
$ flutter pub add fast_linterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fast_linter: ^0.2.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:fast_linter/fast_linter.dart';