meowstodon_lint 1.0.0+1 copy "meowstodon_lint: ^1.0.0+1" to clipboard
meowstodon_lint: ^1.0.0+1 copied to clipboard

Custom meowstodon lint rules for a more consistent codebase.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add meowstodon_lint

With Flutter:

 $ flutter pub add meowstodon_lint

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  meowstodon_lint: ^1.0.0+1

Alternatively, 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:meowstodon_lint/freezed_models_rule.dart';
import 'package:meowstodon_lint/main.dart';
import 'package:meowstodon_lint/no_pump_const_duration_rule.dart';
import 'package:meowstodon_lint/no_register_fallback_value_rule.dart';
import 'package:meowstodon_lint/one_class_per_file_rule.dart';
import 'package:meowstodon_lint/one_riverpod_per_file_rule.dart';
import 'package:meowstodon_lint/provider_remote_data_error_handling_rule.dart';
import 'package:meowstodon_lint/riverpod_providers_rule.dart';
import 'package:meowstodon_lint/sheet_layout_lint_rule.dart';
import 'package:meowstodon_lint/sheet_name_lint_rule.dart';
import 'package:meowstodon_lint/sheet_show_lint_rule.dart';
import 'package:meowstodon_lint/visitors/error_state_visitor.dart';
import 'package:meowstodon_lint/visitors/remote_state_assignment_visitor.dart';
import 'package:meowstodon_lint/visitors/state_assignment_visitor.dart';
import 'package:meowstodon_lint/visitors/state_outside_try_visitor.dart';
import 'package:meowstodon_lint/visitors/try_catch_visitor.dart';
0
likes
140
points
8
downloads

Publisher

verified publisherabrah.am

Weekly Downloads

Custom meowstodon lint rules for a more consistent codebase.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer

More

Packages that depend on meowstodon_lint