commit | a656d0d8269fc6f14b6b9f3019aebf0e1405e44e | [log] [tgz] |
---|---|---|
author | Pascal Welsch <pascal@welsch.dev> | Thu Dec 19 11:00:33 2019 +0100 |
committer | GitHub <noreply@github.com> | Thu Dec 19 11:00:33 2019 +0100 |
tree | 0179ce516fb0e6dd48564e1a9913eba106b7e4b4 | |
parent | 2574dd14cabfe718a3bd4ef6651a9d6455e29fcb [diff] |
Fix lint rule names Replaces typos with official lint rule names. - https://dart-lang.github.io/linter/lints/avoid_equals_and_hash_code_on_mutable_classes.html - https://dart-lang.github.io/linter/lints/use_to_and_as_if_applicable.html
diff --git a/README.md b/README.md index cbab442..fb1a34c 100644 --- a/README.md +++ b/README.md
@@ -112,7 +112,7 @@ only applies to web, but there is currently no mechanism for enabling a lint on web code only. -`avoid_equals_and_hashcode_on_mutable_classes` +`avoid_equals_and_hash_code_on_mutable_classes` would require the `@immutable` annotation to be consistently and correctly used everywhere. @@ -247,7 +247,7 @@ `use_setters_to_change_properties` is too strict: it can't detect when something is conceptually a property. -`use_to_and_if_as_applicable` +`use_to_and_as_if_applicable` is too strict: it can't detect when the style rule actually applies. `throw_in_finally`