Skip to content

Commit d1c9744

Browse files
[various] Check in auto-upgrade to analysis options (#11969)
`flutter pub get` with the latest `master` automatically adds exclusions to any package-local analysis options. This checks in those changes to avoid having diffs either locally, or in CI (triggering failures in the format check since the format check looks for any diffs currently, so this will unblock the roller).
1 parent b290ae0 commit d1c9744

9 files changed

Lines changed: 75 additions & 0 deletions

File tree

packages/animations/analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
# default of enabling unawaited_futures. Please do NOT add more changes
33
# here without consulting with #hackers-ecosystem on Discord.
44

5+
analyzer:
6+
exclude:
7+
- build/**
8+
- android/**
9+
- ios/**
10+
- web/**
11+
- windows/**
12+
- macos/**
13+
- linux/**
514
include: ../../analysis_options.yaml
615

716
linter:

packages/cupertino_ui/analysis_options.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ analyzer:
66
# TODO(justinmc): Remove the following exclusion when cross-imports are
77
# fixed. See https://github.com/flutter/flutter/issues/177028.
88
- "temporarily_disabled_tests/**"
9+
- build/**
10+
- android/**
11+
- ios/**
12+
- web/**
13+
- windows/**
14+
- macos/**
15+
- linux/**

packages/cupertino_ui/example/analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
# The following line activates a set of recommended lints for Flutter apps,
44
# packages, and plugins designed to encourage good coding practices.
5+
analyzer:
6+
exclude:
7+
- build/**
8+
- android/**
9+
- ios/**
10+
- web/**
11+
- windows/**
12+
- macos/**
13+
- linux/**
514
include: package:flutter_lints/flutter.yaml
615

716
linter:

packages/flutter_lints/example/analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77

88
# The following line activates a set of recommended lints for Flutter apps,
99
# packages, and plugins designed to encourage good coding practices.
10+
analyzer:
11+
exclude:
12+
- build/**
13+
- android/**
14+
- ios/**
15+
- web/**
16+
- windows/**
17+
- macos/**
18+
- linux/**
1019
include: package:flutter_lints/flutter.yaml
1120

1221
linter:

packages/go_router/analysis_options.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ analyzer:
99
exclude:
1010
# This directory deliberately has errors, to test `fix`.
1111
- "test_fixes/**"
12+
- build/**
13+
- android/**
14+
- ios/**
15+
- web/**
16+
- windows/**
17+
- macos/**
18+
- linux/**

packages/go_router_builder/example/analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,14 @@
22
# output. Since we want the output to default to what the default formatter
33
# would use, rather than the custom line length used in this repository, use
44
# 80 for this example so it matches.
5+
analyzer:
6+
exclude:
7+
- build/**
8+
- android/**
9+
- ios/**
10+
- web/**
11+
- windows/**
12+
- macos/**
13+
- linux/**
514
formatter:
615
page_width: 80

packages/material_ui/analysis_options.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ analyzer:
66
# TODO(justinmc): Remove the following exclusion when cross-imports are
77
# fixed. See https://github.com/flutter/flutter/issues/177028.
88
- "temporarily_disabled_tests/**"
9+
- build/**
10+
- android/**
11+
- ios/**
12+
- web/**
13+
- windows/**
14+
- macos/**
15+
- linux/**

packages/material_ui/example/analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
# The following line activates a set of recommended lints for Flutter apps,
44
# packages, and plugins designed to encourage good coding practices.
5+
analyzer:
6+
exclude:
7+
- build/**
8+
- android/**
9+
- ios/**
10+
- web/**
11+
- windows/**
12+
- macos/**
13+
- linux/**
514
include: package:flutter_lints/flutter.yaml
615

716
linter:

packages/web_benchmarks/testing/test_app/analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
analyzer:
2+
exclude:
3+
- build/**
4+
- android/**
5+
- ios/**
6+
- web/**
7+
- windows/**
8+
- macos/**
9+
- linux/**
110
include: ../../../../analysis_options.yaml
211

312
linter:

0 commit comments

Comments
 (0)