oath 0.2.1+1 oath: ^0.2.1+1 copied to clipboard
Swear a Paladin's Oath to code righteousness by enforcing lints.
// Uncomment a line below to see the diagnostics caught by the lint rules.
// Ignore this to make the example more readable.
// ignore_for_file: unused_local_variable
void main() {
// Strict analysis options
{
final notAnInt = ':)' as dynamic;
// int definitelyAnInt = notAnInt;
// var oopsListOfDynamic = [];
// List anotherOopsListOfDynamic = [];
}
}