Skip to content

Commit

Permalink
removed avoid_unassigned_late_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
TesteurManiak committed Jul 12, 2023
1 parent 015c112 commit 05b0640
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 31 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
## 2.1.0

* Updated documentation of the package
* Upgraded dependencies
* Created custom rule
* `avoid_unassigned_late_fields`: Avoid unassigned late fields in class :warning:
* Upgraded [`custom_lint`][custom_lint] `0.4.0`->`0.5.0`

## 2.0.1

Expand All @@ -12,7 +10,7 @@
## 2.0.0

* Added rule [flutter_style_todos](https://dart-lang.github.io/linter/lints/flutter_style_todos.html)
* Created custom rules with the package [custom_lint](https://pub.dev/packages/custom_lint)
* Created custom rules with the package [custom_lint][custom_lint]
* `avoid_as`: Avoid using `as` keyword :warning:
* `avoid_non_null_assertion`: Avoid using `!` operator :warning:

Expand All @@ -36,3 +34,5 @@
## 1.0.0

* Initial version.

[custom_lint]: https://pub.dev/packages/custom_lint
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Those rules were created by us by using the [custom_lint](https://pub.dev/packag
|-------------------------------------------------------------------|----------------------|
| [avoid_non_null_assertion][avoid_non_null_assertion_link] | :warning: |
| [avoid_as][avoid_as_link] | :warning: |
| [avoid_unassigned_late_fields][avoid_unassigned_late_fields_link] | :warning: |

### Dart

Expand Down
23 changes: 0 additions & 23 deletions example/test.dart

This file was deleted.

3 changes: 0 additions & 3 deletions lib/fd_lints.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import 'package:custom_lint_builder/custom_lint_builder.dart';
import 'package:fd_lints/src/lints/avoid_as.dart';
import 'package:fd_lints/src/lints/avoid_non_null_assertion.dart';
import 'package:fd_lints/src/lints/avoid_unassigned_late_fields.dart';

/// Entry point for the `_FDLintsPlugin`.
///
/// Include the rules:
/// - [AvoidAs]
/// - [AvoidNonNullAssertion]
/// - [AvoidUnassignedLateFields]
PluginBase createPlugin() => _FDLintsPlugin();

class _FDLintsPlugin extends PluginBase {
Expand All @@ -17,7 +15,6 @@ class _FDLintsPlugin extends PluginBase {
return [
AvoidAs(),
AvoidNonNullAssertion(),
AvoidUnassignedLateFields(),
];
}
}

0 comments on commit 05b0640

Please sign in to comment.