Commit graph appflowy-editor/analysis_options.yaml
Author SHA1 Message Date
Lucas
41335c54ae
chore: merge flutter 3_27_4 into main branch (#1228)
* chore: merge flutter/3_27_4 to main branch

* chore: code format

* fix: unit tests
2026-07-27 15:37:27 +08:00
Lucas
b1e7853608
feat: integrate more lint rules and missing dispose calls (#1174)
* chore: enable additional lint rules and update dependencies

Enable new lint rules including no_equal_then_else, no_equal_conditions,
avoid_contradictory_expressions, and resource cleanup rules. Update
awesome_lints dependency to use local path reference.

* fix: add missing dispose calls for proper resource cleanup

Add dispose() calls for controllers, notifiers, and other resources
across multiple components to prevent memory leaks. Also fix parameter
type in table_node.dart and collection equality check in scroll service.

* refactor: remove deprecated document and node classes

Delete deprecated DocumentV0 and NodeV0 classes and remove the
deprecated Document.empty() factory method in favor of Document.blank().

* fix: remove deprecated exports and duplicate lint ignores

Remove exports for deleted deprecated document and node files from
core.dart and remove duplicate dispose_fields ignore comments.

* chore: point awesome_lints to git main branch

Change awesome_lints dependency from local path to git repository
reference pointing to main branch.

* fix: remove duplicate dispose calls in find replace widget

Remove duplicate findTextEditingController.dispose() call and remove
searchService.dispose() from FindMenu since it doesn't own the service.
The searchService is owned and disposed by the parent widget.

* fix: correct overlay entry disposal in toolbar widgets

Remove overlay entries from overlay before disposing. OverlayEntry must
be removed with remove() before dispose() is called. Move cleanup logic
to proper order in dispose methods.

* refactor: inline overlay cleanup logic in toolbar dispose methods

Replace helper method calls with inline cleanup logic to make the
overlay entry disposal order explicit (remove, dispose, set to null).
2025-12-26 17:05:02 +08:00
Lucas
f882d958d9
feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173)
* chore: update Flutter SDK to version 3.38.5

Upgrade Flutter from 3.32.4 to 3.38.5 to meet awesome_lints
requirement for Dart SDK 3.10.0+. Update CI workflow to use
the new Flutter version and add custom_lint verification step.

* chore: integrate awesome_lints with custom lint rules

Add awesome_lints and custom_lint dependencies, configure
analysis_options.yaml to enable newline lint rules: newline_before_case,
newline_before_constructor, newline_before_method, and newline_before_return.

* style: apply newline formatting per awesome_lints rules

Add blank lines before case clauses, return statements, method
declarations, and constructors throughout the codebase to comply
with awesome_lints newline rules.

* fix: replace deprecated translate with leftTranslateByDouble

Update Matrix4.translate() calls to use the new leftTranslateByDouble()
API to resolve deprecation warnings in Flutter SDK 3.38.5.

* chore: improve code readability with blank line formatting
2025-12-23 15:12:57 +08:00
Lucas.Xu
5f136df356
feat: remove the reference of the deprecated values (#304)
* feat: remove the reference of the deprecated values

* chore: add migration guide
2023-07-12 13:21:54 +08:00
Lucas.Xu
2b2bce4f3c
fix: analysis issues (#283) 2023-07-04 11:22:35 +08:00
Lucas.Xu
435f1a6f9a
feat: support customizing image menu (#265) 2023-06-30 13:40:18 +08:00
Lucas.Xu
b29d053924 fix: flutter analyze and dart lint 2023-05-22 14:51:57 +08:00
Mathias Mogensen
cf5e83d370
chore: add linters conforming to style guide (#59)
Relates: #56 #57
2023-04-12 20:37:50 +08:00
Lucas.Xu
5db0480075 chore: update LICENSE 2023-02-05 11:43:51 +08:00
Renamed from frontend/app_flowy/packages/appflowy_editor/analysis_options.yaml (Previous history)