avoid_non_null_assertion_operator 1.8.0 copy "avoid_non_null_assertion_operator: ^1.8.0" to clipboard
avoid_non_null_assertion_operator: ^1.8.0 copied to clipboard

A custom lint package to forbid the non-null assertion operator (!).

1.8.0 #

  • Refactoring. Adding tests

1.7.0 #

  • Refactoring

1.6.0 #

  • Update algorithm to catch more advanced examples

1.5.0 #

  • Update algorithm to handle throw and early exit

1.4.0 #

  • Rewrite algorithm for ternary operator

1.3.0 #

  • Rewrite algorithm for more advanced validations

1.2.0 #

  • Update versions of packages

1.1.0 #

  • Update versions of packages

1.0.0 #

  • Initial release
  • Implements custom lint rule to detect non-null assertion operator (!)
  • Provides clear error messages with suggestions for safer alternatives
  • Includes example implementation and documentation
0
likes
50
points
1.18k
downloads

Publisher

unverified uploader

Weekly Downloads

A custom lint package to forbid the non-null assertion operator (!).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, custom_lint, custom_lint_builder

More

Packages that depend on avoid_non_null_assertion_operator