The root pubspec lists Learn's, Todo's and the shared packages, which the apps now take by path instead of pinned commits of halkyon_shared: one resolution, one lockfile. Learn's versions stay as they were; Todo moves to Serverpod 4.0.4 and Dart 3.13 with the rest (its generated code unchanged), drops google_fonts, which it never used, and a template line Dart 3.13 refuses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
22 lines
809 B
YAML
22 lines
809 B
YAML
# The workspace's lint rules (see ../analysis_options.yaml), minus generated code.
|
|
include: ../../../analysis_options.yaml
|
|
|
|
analyzer:
|
|
exclude:
|
|
- lib/src/generated/**
|
|
- test/integration/test_tools/serverpod_test_tools.dart
|
|
|
|
# Serverpod's code generator reads this package with an analyzer that doesn't know
|
|
# Dart v3.13's primary constructors yet, and fails on them in endpoint files ("requires
|
|
# the 'primary-constructors' language feature"; checked again with v4.0.3). So the
|
|
# server keeps the classic constructor and class-body syntax; switch these back on once
|
|
# Serverpod parses it.
|
|
linter:
|
|
rules:
|
|
empty_container_bodies: false
|
|
unnecessary_type_name_in_constructor: false
|
|
use_declaring_parameters: false
|
|
use_primary_constructors: false
|
|
|
|
formatter:
|
|
trailing_commas: preserve
|