aqlinter 1.0.2 copy "aqlinter: ^1.0.2" to clipboard
aqlinter: ^1.0.2 copied to clipboard

This is AQoong's favorit linter set

example/lib/main.dart

/// This code used the example code of flutter_lints as it is.
/// https://github.com/flutter/packages/blob/main/packages/flutter_lints/example/lib/main.dart
void main() {
  const String partOne = 'Hello';
  const String partTwo = 'World';

  // The following syntax deactivates a lint on a per-line bases:
  print('$partOne $partTwo'); // ignore: avoid_print
}

abstract class Base {
  int methodA(int foo);
  String methodB(String foo);
}

// Normally, the parameter renaming from `foo` to `bar` in this class would
// trigger the `avoid_renaming_method_parameters` lint, but it has been
// deactivated for the file with the `ignore_for_file` comment above.
class Sub extends Base {
  @override
  int methodA(int bar) => bar;

  @override
  String methodB(String bar) => bar;
}
2
likes
140
points
16
downloads

Publisher

verified publisheraqoong.pe.kr

Weekly Downloads

This is AQoong's favorit linter set

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, flutter, flutter_lints

More

Packages that depend on aqlinter