From a569e00bbcf6404ed1ebc469c9ef35f551a66337 Mon Sep 17 00:00:00 2001 From: AmisKwok Date: Wed, 30 Sep 2026 07:55:23 +0800 Subject: [PATCH 1/2] chore: exclude build and native dirs from analyzer Add analyzer.exclude for build/**, android/** and ios/** to the root and example analysis options so generated build output and platform folders are skipped by flutter analyze. Speeds up local and CI analysis and keeps results focused on hand-written Dart. --- analysis_options.yaml | 5 +++++ example/analysis_options.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index e9631ad..21487d0 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,3 +1,8 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** include: package:flutter_lints/flutter.yaml # Additional information about this file can be found at diff --git a/example/analysis_options.yaml b/example/analysis_options.yaml index 424a14f..c990808 100644 --- a/example/analysis_options.yaml +++ b/example/analysis_options.yaml @@ -7,6 +7,11 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. +analyzer: + exclude: + - build/** + - android/** + - ios/** include: package:flutter_lints/flutter.yaml linter: From 51535f20aee9224a2fe396939c72158f26abd2e1 Mon Sep 17 00:00:00 2001 From: AmisKwok Date: Wed, 30 Sep 2026 07:55:34 +0800 Subject: [PATCH 2/2] chore: refresh example lockfile Bump transitive dev/test dependencies in the example app: matcher 0.12.19 -> 0.12.20, meta 1.17.0 -> 1.19.0, test_api 0.7.10 -> 0.7.12, vector_math 2.2.0 -> 2.4.3. No source changes; keeps flutter analyze/test in CI reproducible. --- example/pubspec.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 5f7e44a..df2919a 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -299,10 +299,10 @@ packages: dependency: transitive description: name: matcher - sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861 + sha256: "31bd099b47c10cd1aeb55146a2d46ce0277630ecef3f7dae54ad7873f36696cd" url: "https://pub.flutter-io.cn" source: hosted - version: "0.12.19" + version: "0.12.20" material_color_utilities: dependency: transitive description: @@ -315,10 +315,10 @@ packages: dependency: transitive description: name: meta - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" + sha256: "307249ce4ff29d58a18e97f6345f539382eb9c9c29ecda628900f31de0443dd9" url: "https://pub.flutter-io.cn" source: hosted - version: "1.17.0" + version: "1.19.0" mime: dependency: transitive description: @@ -616,10 +616,10 @@ packages: dependency: transitive description: name: test_api - sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a" + sha256: "2a122cbe059f8b610d3a5415f42e255b6c17b1f21eee1d960f31080237fb4f11" url: "https://pub.flutter-io.cn" source: hosted - version: "0.7.10" + version: "0.7.12" typed_data: dependency: transitive description: @@ -672,10 +672,10 @@ packages: dependency: transitive description: name: vector_math - sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b + sha256: "92b9910f66ed1057fd4da7b040ae7c74cafacf885bdc81be496928d5049b032d" url: "https://pub.flutter-io.cn" source: hosted - version: "2.2.0" + version: "2.4.3" vm_service: dependency: transitive description: