oath 0.2.1+1 copy "oath: ^0.2.1+1" to clipboard
oath: ^0.2.1+1 copied to clipboard

Swear a Paladin's Oath to code righteousness by enforcing lints.

example/example.dart

// 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 = [];
  }
}
0
likes
140
pub points
8%
popularity

Publisher

verified publisherlurey.dev

Swear a Paladin's Oath to code righteousness by enforcing lints.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

lints, test

More

Packages that depend on oath