surf_lint_rules 0.0.1-dev.218 surf_lint_rules: ^0.0.1-dev.218 copied to clipboard
Lint rules for "Surf" company for Dart and Flutter projects. Like pedantic but stricter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add surf_lint_rules
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
surf_lint_rules: ^0.0.1-dev.218
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:surf_lint_rules/surf_lint_rules.dart';