vihanti_analysis_presets 1.0.4 copy "vihanti_analysis_presets: ^1.0.4" to clipboard
vihanti_analysis_presets: ^1.0.4 copied to clipboard

Lint rules for Dart and Flutter used internally at Vihanti.

example/lib/example.dart

// The following syntax deactivates a lint for the entire file:
// ignore_for_file: avoid_print

void main() {
  // The following line would normally show a lint warning
  // but we can disable the lint rule for this line using the following syntax.
  // ignore: prefer_final_locals
  var greeting = 'hello world';

  /// The following line would normally show a lint warning
  /// but we can disable the lint rule for this file using `ignore_for_file`.
  print(greeting);
}