Deviations from a stock `serverpod create`:
- Dropped Flutter web support, for two reasons:
- Appflowy editor had issues in the past, potentially related to the
Flutter-Web IME bridge. Upstream has also open bugs in relation to
that:
- AppFlowy-IO/appflowy-editor#1029 [Bug][Web] Unwanted space on click
and overall space bugs (open)
- AppFlowy-IO/appflowy-editor#782 [Bug] Editor auto-scrolling when
pressing space too quickly if placed inside a scrollable (open)
- Offline-first is a required feature. serverpod_offline_sync's SQLite
support in browsers, maybe via sqlite3.wasm + OPFS, is not
documented.
- SDK constraints raised to ^3.13.0, instead of ^3.12.2, so enjoy the
newest language features.
- Pinned to Flutter 3.47.4 via FVM.
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# This file configures the static analysis results for your project (errors,
|
|
# warnings, and lints).
|
|
#
|
|
# This enables the 'recommended' set of lints from `package:lints`.
|
|
# This set helps identify many issues that may lead to problems when running
|
|
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
|
|
# style and format.
|
|
#
|
|
# If you want a smaller set of lints you can change this to specify
|
|
# 'package:lints/core.yaml'. These are just the most critical lints
|
|
# (the recommended set includes the core lints).
|
|
# The core lints are also what is used by pub.dev for scoring packages.
|
|
|
|
include: package:lints/recommended.yaml
|
|
|
|
# Uncomment the following section to specify additional rules.
|
|
|
|
linter:
|
|
rules:
|
|
unawaited_futures: true
|
|
avoid_print: true
|
|
|
|
analyzer:
|
|
exclude:
|
|
- lib/src/generated/**
|
|
- test/integration/test_tools/serverpod_test_tools.dart
|
|
# For more information about the core and recommended set of lints, see
|
|
# https://dart.dev/go/core-lints
|
|
|
|
# For additional information about configuring this file, see
|
|
# https://dart.dev/guides/language/analysis-options
|
|
|
|
formatter:
|
|
trailing_commas: preserve
|