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

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

example/example.md

// Convert file extension to .dart to see analysis issues

// prefer_single_quotes const string = "";

void unawaitedFutures() async { // unawaited_futures Future.delayed(Duration.zero); }

// require_trailing_commas void requireTrailingCommas( int param1, int param2, int param3, int param4, int param5) {}

class UseSuperParametersBase { final int param;

UseSuperParametersBase(this.param); }

class UseSuperParameters extends UseSuperParametersBase { // use_super_parameters UseSuperParameters(int param) : super(param); }

void preferFinal() { // prefer_final_in_for_each for (var i in []) { print(i); }

// prefer_final_locals var i = 0; print(i); }

4
likes
150
pub points
57%
popularity

Publisher

verified publisherrexios.dev

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

flutter_lints, lints

More

Packages that depend on rexios_lints