Add riverpod linting

This commit is contained in:
Roland Geider
2026-01-13 16:18:25 +01:00
parent 2456bcb1df
commit 43427cbf8a

View File

@@ -14,15 +14,16 @@ analyzer:
# Allow self-reference to deprecated members (we do this because otherwise we have
# to annotate every member in every test, assert, etc, when we deprecate something)
deprecated_member_use_from_same_package: ignore
# Ignore analyzer hints for updating pubspecs when using Future or
# Stream and not importing dart:async
# Please see https://github.com/flutter/flutter/pull/24528 for details.
sdk_version_async_exported_from_core: ignore
plugins:
- riverpod_lint
formatter:
page_width: 100
trailing_commas: preserve
plugins:
riverpod_lint: 3.1.0
linter:
rules:
# These rules are documented on and in the same order as