diff --git a/packages/animations/analysis_options.yaml b/packages/animations/analysis_options.yaml index 2b795b9100c2..cd11d975871c 100644 --- a/packages/animations/analysis_options.yaml +++ b/packages/animations/analysis_options.yaml @@ -2,6 +2,15 @@ # default of enabling unawaited_futures. Please do NOT add more changes # here without consulting with #hackers-ecosystem on Discord. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: ../../analysis_options.yaml linter: diff --git a/packages/cupertino_ui/analysis_options.yaml b/packages/cupertino_ui/analysis_options.yaml index 2a65a55977a6..bd2a1b96a3d9 100644 --- a/packages/cupertino_ui/analysis_options.yaml +++ b/packages/cupertino_ui/analysis_options.yaml @@ -6,3 +6,10 @@ analyzer: # TODO(justinmc): Remove the following exclusion when cross-imports are # fixed. See https://github.com/flutter/flutter/issues/177028. - "temporarily_disabled_tests/**" + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** diff --git a/packages/cupertino_ui/example/analysis_options.yaml b/packages/cupertino_ui/example/analysis_options.yaml index ca26f0d08d76..561497259820 100644 --- a/packages/cupertino_ui/example/analysis_options.yaml +++ b/packages/cupertino_ui/example/analysis_options.yaml @@ -2,6 +2,15 @@ # 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/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/packages/flutter_lints/example/analysis_options.yaml b/packages/flutter_lints/example/analysis_options.yaml index 6e937f6ea890..e5fd482896ae 100644 --- a/packages/flutter_lints/example/analysis_options.yaml +++ b/packages/flutter_lints/example/analysis_options.yaml @@ -7,6 +7,15 @@ # 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/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/packages/go_router/analysis_options.yaml b/packages/go_router/analysis_options.yaml index 5e5c244496d2..75ffbed8412f 100644 --- a/packages/go_router/analysis_options.yaml +++ b/packages/go_router/analysis_options.yaml @@ -9,3 +9,10 @@ analyzer: exclude: # This directory deliberately has errors, to test `fix`. - "test_fixes/**" + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** diff --git a/packages/go_router_builder/example/analysis_options.yaml b/packages/go_router_builder/example/analysis_options.yaml index fbc265cfff05..aa7068bea593 100644 --- a/packages/go_router_builder/example/analysis_options.yaml +++ b/packages/go_router_builder/example/analysis_options.yaml @@ -2,5 +2,14 @@ # output. Since we want the output to default to what the default formatter # would use, rather than the custom line length used in this repository, use # 80 for this example so it matches. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** formatter: page_width: 80 diff --git a/packages/material_ui/analysis_options.yaml b/packages/material_ui/analysis_options.yaml index 2a65a55977a6..bd2a1b96a3d9 100644 --- a/packages/material_ui/analysis_options.yaml +++ b/packages/material_ui/analysis_options.yaml @@ -6,3 +6,10 @@ analyzer: # TODO(justinmc): Remove the following exclusion when cross-imports are # fixed. See https://github.com/flutter/flutter/issues/177028. - "temporarily_disabled_tests/**" + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** diff --git a/packages/material_ui/example/analysis_options.yaml b/packages/material_ui/example/analysis_options.yaml index ca26f0d08d76..561497259820 100644 --- a/packages/material_ui/example/analysis_options.yaml +++ b/packages/material_ui/example/analysis_options.yaml @@ -2,6 +2,15 @@ # 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/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/packages/web_benchmarks/testing/test_app/analysis_options.yaml b/packages/web_benchmarks/testing/test_app/analysis_options.yaml index ab086918a291..de7703ffc69b 100644 --- a/packages/web_benchmarks/testing/test_app/analysis_options.yaml +++ b/packages/web_benchmarks/testing/test_app/analysis_options.yaml @@ -1,3 +1,12 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: ../../../../analysis_options.yaml linter: