dart_lintz 1.2.3
dart_lintz: ^1.2.3 copied to clipboard
A very strict set of Dart lint rules. Inspired by the likes of Java and Apex.
class Base {
Base({
required this.name,
});
final String name;
String getName(String s) {
String r = '';
switch (s) {
case 'test':
r = 'test';
case 'hi':
r = 'hi';
default:
}
return r;
}
}
class Child extends Base {
Child({
required super.name,
});
}