Skip to content

Commit

Permalink
docs(bloc_lint): add 'exists from: [version]' on all rules doc
Browse files Browse the repository at this point in the history
Implements: felangel#4279
  • Loading branch information
vmichalak committed Nov 11, 2024
1 parent b56926c commit ff9ae4b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bloc_lint/doc/rules/avoid_public_methods_on_bloc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
avoid_public_method_on_bloc
===
exists from: 0.1.0

severity: WARNING

Avoid public methods on `Bloc` classes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
avoid_public_properties_on_bloc_and_cubit
===
exists from: 0.1.0

severity: WARNING

Avoid public properties on `Bloc` and `Cubit`, prefer emit state or use private value.
Expand Down
2 changes: 2 additions & 0 deletions packages/bloc_lint/doc/rules/event_base_class_suffix.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
event_base_class_suffix
===
exists from: 0.1.0

severity: WARNING

The base event class should always be suffixed by `Event`.
Expand Down
2 changes: 2 additions & 0 deletions packages/bloc_lint/doc/rules/prefer_multi_bloc_listener.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
prefer-multi-bloc-listener
===
exists from: 0.1.0

severity: WARNING

Warns when a `BlocListener` can be replaced by a `MultiBlocListener`.
Expand Down
2 changes: 2 additions & 0 deletions packages/bloc_lint/doc/rules/prefer_multi_bloc_provider.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
prefer-multi-bloc-provider
===
exists from: 0.1.0

severity: WARNING

Warns when a `BlocProvider` can be replaced by a `MultiBlocProvider`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
prefer-multi-repository-provider
===
exists from: 0.1.0

severity: WARNING

Warns when a `RepositoryProvider` can be replaced by a `MultiRepositoryProvider`.
Expand Down
2 changes: 2 additions & 0 deletions packages/bloc_lint/doc/rules/state_base_class_suffix.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
state_base_class_suffix
===
exists from: 0.1.0

severity: WARNING

The base state class should always be suffixed by `State`.
Expand Down

0 comments on commit ff9ae4b

Please sign in to comment.