rexios_lints 17.0.2 copy "rexios_lints: ^17.0.2" to clipboard
rexios_lints: ^17.0.2 copied to clipboard

A collection of the linting rules I use for Flutter/Dart projects and packages

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rexios_lints

With Flutter:

 $ flutter pub add rexios_lints

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

dependencies:
  rexios_lints: ^17.0.2

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:rexios_lints/analyzer_plugin/do_not_use_raw_paths.dart';
import 'package:rexios_lints/analyzer_plugin/do_not_use_stateful_builder.dart';
import 'package:rexios_lints/analyzer_plugin/double_leading_zero.dart';
import 'package:rexios_lints/analyzer_plugin/inline_context_lookups.dart';
import 'package:rexios_lints/analyzer_plugin/not_null_assertion.dart';
import 'package:rexios_lints/analyzer_plugin/prefer_async_await.dart';
import 'package:rexios_lints/analyzer_plugin/prefer_immutable_classes.dart';
import 'package:rexios_lints/analyzer_plugin/prefer_timestamps.dart';
import 'package:rexios_lints/analyzer_plugin/unnecessary_container.dart';
import 'package:rexios_lints/analyzer_plugin/utils.dart';
import 'package:rexios_lints/main.dart';
4
likes
150
points
2.1k
downloads

Publisher

verified publisherrexios.dev

Weekly Downloads

A collection of the linting rules I use for Flutter/Dart projects and packages

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, collection, flutter_lints, lints, meta, source_gen

More

Packages that depend on rexios_lints