essential_lints 0.1.7 copy "essential_lints: ^0.1.7" to clipboard
essential_lints: ^0.1.7 copied to clipboard

New lint rules for Dart/Flutter projects and related fixes.

example/lib/example.dart

/// Example of variable shadowing.
///
/// To clone this example, run:
///
/// ```sh
/// dart pub global activate essential_lints
/// dart pub global run essential_lints:get_example
/// ```
void foo(int number) {
  var number = 4;
  print(number);
  {
    var number = 5;
    print(number);
  }
  if (number case var number) {
    print(number);
  }
}
1
likes
140
points
371
downloads

Publisher

unverified uploader

Weekly Downloads

New lint rules for Dart/Flutter projects and related fixes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, args, collection, essential_lints_annotations, logging, meta

More

Packages that depend on essential_lints